forked from hyperlane-xyz/hyperlane-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/custom ton errors #15
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…to provider, refactored merkle_tree_hook
…in_range and other updates
… in fetch_logs_in_range
… and made a small decomposition
…ssage_id has been removed
Keshoid
added a commit
that referenced
this pull request
Dec 17, 2024
* Refactor/hyperlane ton contracts (#14) * feat(provider): added fetch_block_timestamp method in TonProvider * refactor(ton-mailbox and igp): added fetch_block_timestamp call instead of closure * refactor(hyperlane-ton): added the get_finalized_block_number method to provider, refactored merkle_tree_hook * refactor(ton/merkle_tree_hook): some refactoring * feat(hyperlane-ton/merkle_tree_hook): init implementation fetch_logs_in_range and other updates * refactor(hyperlane-ton/validator_announce): a little refactoring * fix(hyperlane-ton/interchain_gas): fix probliem with parser reference in fetch_logs_in_range * refactor(hyperlane-ton/contracts): removed unnecessary logs and minor updates * refactor(client): moved the file error.rs and decomposed the function of getting time by block * refactor(hyperlane-ton/contracts): initialized some fields in Logmate and made a small decomposition * Feature/custom ton errors (#15) * refactor(hyperlane-ton): added the get_finalized_block_number method to provider, refactored merkle_tree_hook * refactor(ton/merkle_tree_hook): some refactoring * feat(hyperlane-ton/merkle_tree_hook): init implementation fetch_logs_in_range and other updates * fix(hyperlane-ton/interchain_gas): fix probliem with parser reference in fetch_logs_in_range * refactor(hyperlane-ton/contracts): initialized some fields in Logmate and made a small decomposition * feature(hyperlane-ton/error): added custom ton error * refactor(hyperlane-ton/error): update HyperlaneTonError * refactor(hyperlane-ton/errors): some updates in HyperlaneTonError * refactor(hyperlane-ton/contract): updated the returned errors in to custom ones * refactor(relayer/msg/metadata): the stub for get_merkle_leaf_id_by_message_id has been removed * refactor(hyperlane-ton): remove trash * refactor: unnecessary comments have been deleted * refactor(run-locally/ton): extra instruction has been removed * refactor: move masterchain constant to shared module * refactor: the correct sorting of imports has been done * updated import sorting * moved the tonlib-core dependency to the rust main cargo.toml * refactor: deleted an unnecessary file deploy.rs * refactor: deleted an unnecessary comment * refactor: added a space * refactor: fixed the import style * fix: warnings * build: upd Cargo.lock --------- Co-authored-by: Vasilii Lazarev <[email protected]> Co-authored-by: Lapo4kaKek <[email protected]>
Keshoid
added a commit
that referenced
this pull request
Jan 20, 2025
* Refactor/hyperlane ton contracts (#14) * feat(provider): added fetch_block_timestamp method in TonProvider * refactor(ton-mailbox and igp): added fetch_block_timestamp call instead of closure * refactor(hyperlane-ton): added the get_finalized_block_number method to provider, refactored merkle_tree_hook * refactor(ton/merkle_tree_hook): some refactoring * feat(hyperlane-ton/merkle_tree_hook): init implementation fetch_logs_in_range and other updates * refactor(hyperlane-ton/validator_announce): a little refactoring * fix(hyperlane-ton/interchain_gas): fix probliem with parser reference in fetch_logs_in_range * refactor(hyperlane-ton/contracts): removed unnecessary logs and minor updates * refactor(client): moved the file error.rs and decomposed the function of getting time by block * refactor(hyperlane-ton/contracts): initialized some fields in Logmate and made a small decomposition * Feature/custom ton errors (#15) * refactor(hyperlane-ton): added the get_finalized_block_number method to provider, refactored merkle_tree_hook * refactor(ton/merkle_tree_hook): some refactoring * feat(hyperlane-ton/merkle_tree_hook): init implementation fetch_logs_in_range and other updates * fix(hyperlane-ton/interchain_gas): fix probliem with parser reference in fetch_logs_in_range * refactor(hyperlane-ton/contracts): initialized some fields in Logmate and made a small decomposition * feature(hyperlane-ton/error): added custom ton error * refactor(hyperlane-ton/error): update HyperlaneTonError * refactor(hyperlane-ton/errors): some updates in HyperlaneTonError * refactor(hyperlane-ton/contract): updated the returned errors in to custom ones * refactor(relayer/msg/metadata): the stub for get_merkle_leaf_id_by_message_id has been removed * refactor(hyperlane-ton): remove trash * refactor: unnecessary comments have been deleted * refactor(run-locally/ton): extra instruction has been removed * refactor: move masterchain constant to shared module * refactor: the correct sorting of imports has been done * updated import sorting * moved the tonlib-core dependency to the rust main cargo.toml * refactor: deleted an unnecessary file deploy.rs * refactor: deleted an unnecessary comment * refactor: added a space * refactor: fixed the import style * fix: warnings * build: upd Cargo.lock --------- Co-authored-by: Vasilii Lazarev <[email protected]> Co-authored-by: Lapo4kaKek <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a custom error type for the Ton
Unnecessary comments have been removed and various garbage has been removed