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

Moved ica-client #482

Closed
wants to merge 2 commits into from
Closed

Moved ica-client #482

wants to merge 2 commits into from

Conversation

Kayanski
Copy link
Contributor

@Kayanski Kayanski commented Oct 4, 2024

This PR aims at placing the ica-client definitions in their right place and creating tests for the implementation (EVM and Cosmos)

Checklist

  • CI is green.
  • Changelog updated.

Copy link

cloudflare-workers-and-pages bot commented Oct 4, 2024

Deploying abstract-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3405659
Status: ✅  Deploy successful!
Preview URL: https://cd107f9a.abstract-docs.pages.dev
Branch Preview URL: https://tests-ica-client.abstract-docs.pages.dev

View logs

Copy link
Collaborator

@Buckram123 Buckram123 left a 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

Comment on lines +88 to +90
// 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! {
Copy link
Collaborator

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?

Copy link
Contributor Author

@Kayanski Kayanski Oct 8, 2024

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.
Copy link
Contributor

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.

Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, rebasing right now

@Kayanski
Copy link
Contributor Author

Kayanski commented Oct 7, 2024

Closed in favor of #486 (on version 2)

@Kayanski Kayanski closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants