-
Notifications
You must be signed in to change notification settings - Fork 23
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
Moved ica-client #482
Moved ica-client #482
Conversation
Deploying abstract-docs with Cloudflare Pages
|
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's clean those TODO's here
// TODO: Should be a better way to have lookup table, maybe this will be nice: | ||
// https://crates.io/crates/phf | ||
let chains = map_macro::hash_map! { |
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.
Have you considered lookup table alternative? What do you think about phf?
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.
This is not possible because hf doesn't support keys of the type ARCHWAY[0] it seems here (see rust-phf/rust-phf#196)
pub use polytone_evm::EVM_NOTE_ID; | ||
pub use polytone_evm::POLYTONE_EVM_VERSION; | ||
|
||
/// This needs no info. Owner of the contract is whoever signed the InstantiateMsg. |
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.
We can get rid of the addresses here and use the deterministic addresses.
Also would be nice to have an owner field here because it's easier to deploy that way if we want a different owner.
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.
base branch is main here, it's already removed in develop/v2
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.
yes, rebasing right now
Closed in favor of #486 (on version 2) |
This PR aims at placing the ica-client definitions in their right place and creating tests for the implementation (EVM and Cosmos)
Checklist