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

Introduced the validation to not allow ibc with timeout timestamp less then X nanos. #465

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

RustNinja
Copy link
Collaborator

centaurid tx ibc-transfer transfer transfer channel-6 0xF66605eDE7BfCCc460097CAFD34B4924f1C6969D 1000000000000000ppica --from jn --fees 1000000000000ppica --home ~/.centauri-mainnet --keyring-backend "test" --node https://rpc-testnet5.composable-cosmos.composablenodes.tech:443 --chain-id=banksy-testnet-5 --gas=auto --packet-timeout-height 0-5493803 --packet-timeout-timestamp 1710526985000000000

here is an example of IBC transfer from cosmos to eth.

the idea to just reject any transfer where timeout-timestamp is less then specified in configuration for that specific channel.

@hoank101
Copy link
Collaborator

what happen if we auto set --packet-timeout-timestamp to correct value, if validator set incorrect?

@kkast kkast merged commit cb00202 into develop Mar 19, 2024
11 of 13 checks 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.

4 participants