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

Update sov-rollup-starter with latest changes from nightly - archival rpc support #19

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

dubbelosix
Copy link
Contributor

Description

sovereign-sdk repo was updated to support archival queries using Version. RPC in the bank module was updated to have version: u64 as an argument for balanceOf and supplyOf, so sov-rollup-starter has the commit as well as the Makefile commands updated

{"jsonrpc":"2.0","method":"bank_supplyOf",
"params":["sov1zdwj8thgev2u3yyrrlekmvtsz4av4tp3m7dm5mx5peejnesga27svq9m72"],
"id":1}

is updated to

{"jsonrpc":"2.0","method":"bank_supplyOf",
"params":{"token_address":"sov1zdwj8thgev2u3yyrrlekmvtsz4av4tp3m7dm5mx5peejnesga27svq9m72"},
"id":1}

When dictionary is used, version does not need to be specified

@dubbelosix dubbelosix requested a review from bkolad January 9, 2024 18:42
@dubbelosix dubbelosix merged commit da48b51 into main Jan 10, 2024
1 check passed
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