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

feat(example): add interchain-token-service #149

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

nbayindirli
Copy link
Contributor

@nbayindirli nbayindirli requested a review from a team as a code owner January 17, 2025 00:13
contracts/example/src/lib.rs Show resolved Hide resolved
Comment on lines +21 to +26
#[data]
pub token_id: BytesN<32>,
#[data]
pub token_address: Address,
#[data]
pub amount: i128,
Copy link
Member

Choose a reason for hiding this comment

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

Stellar has no limit on number or size of topics, so these 3 can go inside topics

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was not a topic-related concern, but rather just a test of > 1 data field. It did result in a bug, which this PR patches (the macro was not properly passing multiple data field attributes to publish)

contracts/example/src/event.rs Show resolved Hide resolved
contracts/example/Cargo.toml Outdated Show resolved Hide resolved
contracts/example/src/contract.rs Show resolved Hide resolved
contracts/example/src/contract.rs Outdated Show resolved Hide resolved
contracts/example/tests/test.rs Outdated Show resolved Hide resolved
contracts/example/tests/test.rs Show resolved Hide resolved
contracts/example/tests/test.rs Show resolved Hide resolved
contracts/example/tests/test.rs Outdated Show resolved Hide resolved
Base automatically changed from refactor/use-into-event to main January 17, 2025 07:20
env: Env,
gateway: Address,
gas_service: Address,
interchain_token_service: Address,
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

contracts/example/tests/test.rs Show resolved Hide resolved
@nbayindirli nbayindirli marked this pull request as draft January 18, 2025 06:18
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.

3 participants