-
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 new task: fevm_block_header #1207
Conversation
model/fevm/blockheader.go
Outdated
Difficulty int64 `pg:",use_zero"` | ||
Number int64 `pg:",use_zero"` | ||
GasLimit int64 `pg:",use_zero"` | ||
GasUsed int64 `pg:",use_zero"` | ||
Timestamp int64 `pg:",use_zero"` |
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.
Why are these int64
? The Lotus implementation has these as uint64
.
tasks/fevm/blockheader/tasks.go
Outdated
|
||
cid, err := executed.Key().Cid() | ||
if err != nil { | ||
log.Errorf("Error at getting cid") |
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.
log.Errorf("Error at getting cid") | |
log.Errorf("Error at getting cid: [%v] err: %v", cid, err) |
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.
done
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.
Good job!
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.
looks good, thanks!
No description provided.