-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add Access Control, Refunder and Rate Limiter #772
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need the new abis moved into abis/
directory also.
protocol-units/bridge/contracts/script/AtomicBridgeMOVEDeployer.s.sol
Outdated
Show resolved
Hide resolved
@0xmovses added abis |
Thanks, it seems that fixed client integration tests are imminently about to be merged to main, EOD / tomorrow morn. I would think its best for those fixed integration tests to go in then you get test these contract changes against main and we merge after that. Unless there is some other urgency I'm unaware of? |
This is the PR fyi, https://github.com/movementlabsxyz/movement/pull/690/commits Some rather large changes required with the way we test against the framework. Old testing work had to be rewritten. |
Putting this into draft as it refers to the old HTLC contracts, however we may want to refer to this code, so keeping it draft. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tests pass locally and logic seems to make sense.
Summary
protocol-units
,networks
,scripts
,util
,cicd
, ormisc
.Adds AccessControlUpgradeable to BridgeInitiator and BridgeCounterparty
Changelog
DEFAULT_ADMIN_ROLE: _owner (is able to set roles and is able to set addresses and config)
RELAYER: _relayer (is able to call lockBridgeTransfer)
REFUNDER: _refunder (is able to call cancelBridgeTransfer and refundBridgeTransfer)
RateLiiter
Testing
Outstanding issues
Pending tests related to the overall deployment within the relayer framework testing.