Skip to content

Commit

Permalink
add IMessageTransformer interface to CCIP onramp and offramp (#15849)
Browse files Browse the repository at this point in the history
* add IMessageTransformer interface to CCIP onramp and offramp

* create message transformer on/off ramps that inherit from canonical 1.6 on/off ramps

* Update gethwrappers

* fix return values for transformer on off ramps

* generate gethwrappers for message transformer on off ramps

* fix linting issue

* forge fmt and snapshot

* update snapshot

* update comments

* regenerate message transformer offramp with correct configurations

* address comments

* regen wrappers with correct name

* forge fmt

* use interface for ramps and run optimizer for bcm offramp

* add setters

* forge fmt

* update snapshot

* address comments

* add natspec comments everywhere

* forge fmt

* casing

* fix casing

* fix casing

* rename test file

* adds dummy ccip receiver to emit received data

* use interface for CCIP receiver in CCIPChainState

* updates CCIPDummyReceiver

* move offramp hook prior to nonce logic

* fix unit tests

* forge fmt

* adds new receiver state in CCIPChainState

* use new type for ReceiverWithMsgData

* remove CCIPDummyReceiver contract and implement ITypeAndVersion in LogMsgDataReceiver

* import styleguide updates

* updates LogMessageDataReceiver contract

* forge fmt

---------

Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com>
Co-authored-by: rishabh570 <rishabhrawat570@gmail.com>
  • Loading branch information
3 people authored Jan 22, 2025
1 parent 7bbab2b commit ba148ac
Show file tree
Hide file tree
Showing 30 changed files with 5,713 additions and 235 deletions.
142 changes: 0 additions & 142 deletions contracts/.gas-snapshot

This file was deleted.

Loading

0 comments on commit ba148ac

Please sign in to comment.