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

chore - Update to SDK changes in namada v0.18.1 #327

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

jurevans
Copy link
Collaborator

@jurevans jurevans commented Jul 7, 2023

This PR updates us to support namada v0.18.1, which contains the refactoring of the SDK calls.

NOTE We can now pass an optional publicKey along with our transactions, so this has been added to the tx schema and TxProps type, but isn't yet being passed in. It is required to be there so tx can be deserialized in Rust.

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 12:02 Inactive
@jurevans jurevans requested review from mateuszjasiuk and emccorson and removed request for mateuszjasiuk July 7, 2023 12:09
@jurevans jurevans self-assigned this Jul 7, 2023
@github-actions github-actions bot temporarily deployed to pull request July 7, 2023 12:21 Inactive
Copy link
Collaborator

@mateuszjasiuk mateuszjasiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM!

// Submit the reveal public key transaction first
namada::ledger::tx::process_tx(&self.client, &mut self.wallet, &args, rtx).await?;
// Update the stateful PoW challenge of the outer transaction
#[cfg(not(feature = "mainnet"))]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We most likely have to add "mainnet" feature to Cargo.toml and to the release/mainnet builds. Worth asking someone about this flag :)

@jurevans jurevans force-pushed the chore/update-to-namada-v0.18.1 branch from 87f8de2 to d100332 Compare July 10, 2023 08:50
@github-actions github-actions bot temporarily deployed to pull request July 10, 2023 09:03 Inactive
@jurevans jurevans merged commit d3441e0 into main Jul 10, 2023
5 checks passed
@jurevans jurevans deleted the chore/update-to-namada-v0.18.1 branch July 10, 2023 09:11
mateuszjasiuk pushed a commit that referenced this pull request Jul 10, 2023
* Update to SDK changes in namada v0.18.1

* Add public key to schema, tested
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.

2 participants