-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add actor dump processor and task #1245
Conversation
9104494
to
8f59050
Compare
30c90ed
to
e0e1bf5
Compare
52614a6
to
ad0c61a
Compare
// | ||
// Hourly Snapshot | ||
// | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove or update?
@@ -155,6 +159,7 @@ var TableLookup = map[string]struct{}{ | |||
FEVMTransaction: {}, | |||
FEVMContract: {}, | |||
FEVMTrace: {}, | |||
FVMActorStateDump: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FEVMActorDump
chain/indexer/tasktype/tasks.go
Outdated
@@ -18,6 +18,7 @@ const ( | |||
ImplicitMessageTask = "implicitmessage" // task that extract implicitly executed messages: cron tick and block reward. | |||
ChainConsensusTask = "consensus" | |||
FEVMTask = "fevm" | |||
Snapshot = "snapshot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapshot?
5fbdf82
to
b680705
Compare
@@ -66,10 +68,15 @@ import ( | |||
fevmtransactiontask "github.com/filecoin-project/lily/tasks/fevm/transaction" | |||
fevmactorstatstask "github.com/filecoin-project/lily/tasks/fevmactorstats" | |||
|
|||
// actor dump | |||
fvmactordumptask "github.com/filecoin-project/lily/tasks/periodic_actor_dump/fvm_actor" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use fevm to be consistent.
@@ -155,6 +159,7 @@ var TableLookup = map[string]struct{}{ | |||
FEVMTransaction: {}, | |||
FEVMContract: {}, | |||
FEVMTrace: {}, | |||
FVMActorDump: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation.
@@ -207,6 +212,7 @@ var TableComment = map[string]string{ | |||
FEVMTransaction: ``, | |||
FEVMContract: ``, | |||
FEVMTrace: ``, | |||
FVMActorDump: ``, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation.
@@ -316,4 +322,5 @@ var TableFieldComments = map[string]map[string]string{ | |||
FEVMTransaction: {}, | |||
FEVMContract: {}, | |||
FEVMTrace: {}, | |||
FVMActorDump: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation.
Add the new processor for handling new type of task: periodic actor dump.