-
Notifications
You must be signed in to change notification settings - Fork 160
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(rpc): implement Filecoin.EthGetMessageCidByTransactionHash #4402
feat(rpc): implement Filecoin.EthGetMessageCidByTransactionHash #4402
Conversation
…essage-cid-by-transaction-hash-2
…essage-cid-by-transaction-hash-2
…essage-cid-by-transaction-hash-2
…essage-cid-by-transaction-hash-2
…essage-cid-by-transaction-hash-2
for ((i=0; i<=NUM_TIPSETS; i++)); do | ||
EPOCH_HEX=$(printf "0x%x" $EPOCH) | ||
#echo "$EPOCH_HEX" | ||
JSON=$(curl -s -X POST 'http://127.0.0.1:2345/rpc/v1' -H 'Content-Type: application/json' --data "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"Filecoin.EthGetBlockByNumber\",\"params\":[\"$EPOCH_HEX\", false]}") |
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.
It'd be great to avoid this escaping hell.
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 me know if this reduces eye fatigue for you.
name: Calibnet eth mapping check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: lscpu |
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.
is this needed?
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.
You mean lscpu
?
Summary of changes
Changes introduced in this pull request:
Filecoin.EthGetMessageCidByTransactionHash
Reference issue to close (if applicable)
Closes #4368
Other information and links
Change checklist