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

Is it a bird? Is it a plane? No, it's testnet4! #2709

Closed
wants to merge 35 commits into from
Closed

Conversation

aroralanuk
Copy link
Contributor

Description

  • Attempt to deploy mailbox v3 on testnet in the rc context

Drive-by changes

Related issues

Backward compatibility

Testing

yorhodes and others added 30 commits July 25, 2023 16:22
### Description

- Adding Optimism Hook for MailboxV3

### Drive-by changes

- dispatch function with hookMetadata

### Related issues

- hyperlane-xyz/issues#513

### Backward compatibility

No

### Testing

None
### Description

- IGP as a standalone hook, implementing postDispatch to call payForGas
directly
- Setting a DEFAULT_GAS_USAGE if metadata not specified and
message.senderAddress() as refund address if not specified.

### Drive-by changes

- None

### Related issues

Fixes hyperlane-xyz/issues#511

### Backward compatibility

Yes, same interface as the previous IGP but for Mailbox V3

### Testing

Unit Tests

---------

Co-authored-by: Yorke Rhodes <[email protected]>
### Description

- Updated the OP Stack tests for the Mailbox V3 transient storage
version
- Allowing OPStackHook to send msg.value at the time of message delivery
(uses bit masking)
- Added LibBit library, will be useful for all the auth hooks which can
send `msg.value`

### Drive-by changes

- None

### Related issues

- Fixes breaking OP Stack tests for
hyperlane-xyz/issues#513
- Also fixes
#2410

### Backward compatibility

No

### Testing

Unit tests

---------

Co-authored-by: Yorke Rhodes <[email protected]>
### Description

- Adding protocol fee as a hook

### Drive-by changes

- None

### Related issues

V3

### Backward compatibility

Yes

### Testing

Fuzz tests

---------

Co-authored-by: Yorke Rhodes <[email protected]>
### Description

- fixes GasRouter expectRevert message
- added TestMerkleRootHook for proof() and fixes MerkleRootMultisig test
- fixes ERC5164 tests post v3 changes

### Drive-by changes

- added contract name to mailbox and abstractHook error messages
- removed unnecessary tests for "message too large"
- downgrade slither in actions to 0.3.0 because of their recent "missing
inheritance" bug on main

### Related issues

- V3

### Backward compatibility

Yes

### Testing

Unit tests
### Description

- `quoteDispatch` added to `IPostDispatchHook` interface and the
relevant hooks:
     - StaticProtocolFee
     - OPStackHook
     - InterchainGasPaymaster
     - MerkleTreeHook
     - PausableHook (no tests)
     - DomainRoutingHook (no tests)
     - ConfigFallbackDomainRoutingHook 
     - ConfigurableDomainRoutingHook (no tests)

### Drive-by changes

- `expectEmit` -> `expectCall`

### Related issues

- Quote in V3

### Backward compatibility

Yes

### Testing

Uint tests
@aroralanuk aroralanuk closed this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants