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

Add quoteDispatch to IPostDispatchHook #2660

Merged
merged 5 commits into from
Aug 17, 2023
Merged

Add quoteDispatch to IPostDispatchHook #2660

merged 5 commits into from
Aug 17, 2023

Conversation

aroralanuk
Copy link
Contributor

@aroralanuk aroralanuk commented Aug 15, 2023

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 changed the title quote to IPostDispatchHook Add quoteDispatch to IPostDispatchHook Aug 15, 2023
solidity/contracts/hooks/MerkleTreeHook.sol Show resolved Hide resolved
solidity/contracts/hooks/DomainRoutingHook.sol Outdated Show resolved Hide resolved
solidity/contracts/igps/InterchainGasPaymaster.sol Outdated Show resolved Hide resolved
solidity/test/isms/OPStackIsm.t.sol Show resolved Hide resolved
@aroralanuk aroralanuk merged commit 7323954 into v3 Aug 17, 2023
4 of 5 checks passed
@aroralanuk aroralanuk deleted the kunal/quote-v3 branch August 17, 2023 19:01
yorhodes pushed a commit that referenced this pull request Aug 18, 2023
### 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
@yorhodes yorhodes mentioned this pull request Aug 18, 2023
yorhodes pushed a commit that referenced this pull request Sep 13, 2023
- `quoteDispatch` added to `IPostDispatchHook` interface and the
relevant hooks:
     - StaticProtocolFee
     - OPStackHook
     - InterchainGasPaymaster
     - MerkleTreeHook
     - PausableHook (no tests)
     - DomainRoutingHook (no tests)
     - ConfigFallbackDomainRoutingHook
     - ConfigurableDomainRoutingHook (no tests)

- `expectEmit` -> `expectCall`

- Quote in V3

Yes

Uint tests
@yorhodes yorhodes mentioned this pull request Nov 16, 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