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

Fix MTX broadcaster intermittent bug; pay for bridge transactions #1112

Merged
merged 4 commits into from
Jan 27, 2023

Conversation

area
Copy link
Member

@area area commented Jan 18, 2023

Closes #1111 . We want people using the safe-control feature to not be obliged to pay for the bridging transaction on the Gnosis Chain side, so have whitelisted the two (currently known / cared about) bridge contracts, and allowed calls to the arbitrary transactions functions on a colony to call exactly requireToPassMessage on those contracts and still be eligible for using our metatransaction broadcaster.

Also fixes an untracked bug where, if the gas-price oracle used returned certain values, a non-integer would be passed to hexlify which would error. That should now no longer be possible, regardless of what value is returned by the oracle.

Based on #1113 so no merging until that is merged.

@area area force-pushed the maint/never-float-hexlify branch from e67a957 to bf2220b Compare January 20, 2023 11:10
@area area force-pushed the maint/never-float-hexlify branch 2 times, most recently from 0652420 to 865e1b6 Compare January 25, 2023 16:44
@area area marked this pull request as draft January 25, 2023 16:45
@area area force-pushed the maint/never-float-hexlify branch from 865e1b6 to 2bcb788 Compare January 26, 2023 17:36
@area area marked this pull request as ready for review January 26, 2023 17:36
@kronosapiens kronosapiens force-pushed the maint/never-float-hexlify branch 2 times, most recently from 9770733 to b8a1e95 Compare January 26, 2023 18:20
kronosapiens
kronosapiens previously approved these changes Jan 26, 2023
@kronosapiens
Copy link
Member

kronosapiens commented Jan 26, 2023

@area I modified the last commit (it was a small change; I figured it would be more expedient) -- it's approved, take a look and merge if you're happy with it.

@kronosapiens kronosapiens merged commit 4595b4d into develop Jan 27, 2023
@kronosapiens kronosapiens deleted the maint/never-float-hexlify branch January 27, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Whitelist AMB Contracts in MetaTx for Safe Control
2 participants