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

Feature/custom ton errors #15

Merged
merged 16 commits into from
Dec 17, 2024
Merged

Feature/custom ton errors #15

merged 16 commits into from
Dec 17, 2024

Conversation

Lapo4kaKek
Copy link

Added a custom error type for the Ton

Unnecessary comments have been removed and various garbage has been removed

@Keshoid Keshoid merged commit d249621 into develop Dec 17, 2024
@Keshoid Keshoid deleted the feature/custom-ton-errors branch December 17, 2024 09:36
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants