Skip to content
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

Bump to Godwoken Web3 v1.6.4 #60

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Bump to Godwoken Web3 v1.6.4 #60

merged 1 commit into from
Sep 1, 2022

Conversation

Flouse
Copy link
Collaborator

@Flouse Flouse commented Aug 30, 2022

Release note https://github.com/nervosnetwork/godwoken-web3/releases/tag/v1.6.4

feat: Add new RPC gw_get_pending_tx_hashes

Get pending transaction hashes, which means a developer could get the mem_pool transactions of Godwoken.

Example

curl https://godwoken-testnet-v1.ckbapp.dev -X POST \
        -H "Content-Type: application/json" \
        -d '{"jsonrpc": "2.0", "method":"gw_get_pending_tx_hashes", "params": [], "id": 1}'

# Reust 
{"jsonrpc":"2.0","id":1,"result":["0x2e8785d5ad1a4753c6ab666ff31976bb9c8b2991db41f58bb66a2a512a95cdb3","0x35ea09570dd36937c7dc0cb35a04609b58e58d15ba7204e7a524709855b73bf9","0x5b02a63c07a61681cc297925dd70c1ee23b28b16bde27982548c1f46d4e1a6ff","0x95fec59a004cea6c502fd82f35749cd2a70c424a15809c01be5c4002893f823c","0xd99ba866c78df6e225ff2e2907cf9a1d6c0d392254c2de6b56f6aa0019c6fc54","0xf07497e5cd30fdfed47bfb7d7ef352b79d790b3faedc1b248f928c63aa29b535"]}

@Flouse Flouse requested a review from Keith-CY August 30, 2022 09:54
@Flouse Flouse self-assigned this Aug 30, 2022
@Flouse
Copy link
Collaborator Author

Flouse commented Aug 30, 2022

Mainnet Updated

curl https://v1.mainnet.godwoken.io/rpc -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method":"poly_version", "params": [], "id": 1}'

# Result
{"jsonrpc":"2.0","id":1,"result":{"versions":{"web3Version":"1.6.4","web3IndexerVersion":"1.6.4","godwokenVersion":"1.5.0 66ee8fd"}

@Flouse Flouse merged commit 7d19369 into main Sep 1, 2022
@Flouse Flouse deleted the web3-1.6.4 branch September 1, 2022 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant