Open
Conversation
This file contains hidden or 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
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.
get_pause_mut,pausable::pause, andpausable::unpausewerepublic, allowing any user to pause/unpause the bridge via a PTB. Restricted all three topublic(package).assert_is_compatible/assert_bridge_is_compatibleexisted but were never called. Added them to all state-mutating entry pointsacross safe.move,bridge_module.move, andxmn_mint_cap_adapter.move.bridge::initializeacceptedquorum > relayer_count, permanently bricking the bridge. Addedassert!(initial_quorum <= public_keys.length(), EQuorumExceedsRelayers).MintCapfrom direct de-whitelisting: Callingsafe::remove_token_from_whiteliston a mint-burn token left itsMintCappermanently stuck. Added a guard rejecting mint-burn tokens and introducedsafe::unwhitelist_token (package-internal)for the adapter's cleanup flow.add_to_token_config_total_balance,subtract_from_token_config_total_balance,upsert_token_config,set_token_config,increment_batch_deposits,update_batch_last_updated,set_batch_deposits_count) frompublictopublic(package).BatchTimeoutUpdated,BatchSettleTimeoutUpdated,BatchSizeUpdatedevents emitted fromset_batch_timeout_ms,set_batch_settle_timeout_ms, andset_batch_size(both safe and bridge).