Commit 2598b28
Vv/offramp message values (#318)
* wip: route through router CCIPReceive
* get offramp to compile
* update wrappers and test Router UpdateOffRamps message
* namespace FeeQuoter_Error
* test flow going through route for CCIPReceive
* fmt
* update router storage
* add updateOfframps operation to deployment sequences
* use router instead of offramp address in receiver bindings
* format
* fmt view/common.go
* bump contract versions
* update receiver code and fix assertion in cs_test
* fix receiver test
* fmt
* fix goimports
* bump version in wrappers
* update router opcodes to use crc32
* bump versions
* fmt typescript
* remove a few unnecesary todos
* remove get prefix from receiver getters
* move MR wrappers to their corresponding file and fix bindings
* fix import in offramp.spec.ts
* fix merkleroot deploy test
* fmt
* move imports
* fix broken offramp test
* add test for tree with 2 leaves
* fmt
* fix unused imports in router
* remove todo and unused dir in router test and contract
* use storeMaybeBuilder
* Fix tests
* Fix deployment/ compilation
* yarn fmt
* fmt
* use Deployable<MerkleRootId> and Deployable<ReceiveExecutorId>
* use id type alias also in Router
* enable gasLimit
* fix compilation errors
* get message hasher compatibility test to pass
* fix golints
* set expected value for hash in ts test, and comment console.log
* fix attempt
* test hardcoding message value to 10
* test adjusting message value amounts
* test increase the value in message from transmitter to 1000000
* test deploying OffRamp with more baseline TON coins
* test setting decimals to 9 on execute codec
* revert testing changes
* bump core version
* add logs to txm and transmitter contract
* rename log
* some cleanup and debug for any2tvm ramp
* fix
* add execute report test
* implement and test manual exec works
* add test that gasOverride is ignored if lower than original gaslimit
* increase the tx amount to 0.1 ton
* hard code gas limit
* revert the hard coded gas limit
* OffRamp flow value checks
* fix merge errors
* debugging exit code 37 when both price updates and root are comitted
* get tests to pass
* fmt
* do not use SEND_MODE_REGULAR where possible
* use SEND_MODE_REGULAR on feeQuoter message
* adjust offchain transmitter values
* increment baseAmount for both reports
* add debug trace to txm loop
* transmit only once
* revert on-chain change to test
* try reverting to previous values in transmitter and contract costs
* fix
* use SEND_MODE_REGULAR again
* use SEND_MODE_REGULAR on notification flow
* use SEND_MODE_REGULAR for validate as well
* add comment
* try using PAY_FEES_SEPARATELY
* increase cost for MerkleRoot_Validate
* increase deployment amount for contracts
* increase amount needed for ReceiveExecutor_Confirm
* reduce ExecuteValidate and Validate costs slightly
* reduce amount sent by transmitter on Execute to 0.085
* use PAY_FEES_SEPARATELY on markState
* refactor: move Costs structs to their corresponding contracts
* remove TODOs and comments
* add comment on pkg/ccip/ocr/transmitter
* remove ActionExitCode from MsgInfo
* use MustAdd instead of Add in contract_transmitter
* fix linter warnings
* noop change to dispatch ci again
* use PAY_FEES_SEPARATELY on receive executor deployment
* fix: SEND_MODE_PAY_...
* Update pkg/txm/txm.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove newline to pass tests
* deployment revert values
---------
Co-authored-by: Joe Huang <joe.huang@smartcontract.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Nicolas Mouso <nicolasgnr@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 30edd33 commit 2598b28
File tree
22 files changed
+255
-115
lines changed- contracts
- contracts
- ccip
- fee_quoter
- merkle_root
- offramp
- receive_executor
- router
- test/receiver
- lib
- tests/ccip
- helpers
- wrappers/ccip
- deployment/ccip/sequence
- pkg
- ccip/ocr
- txm
22 files changed
+255
-115
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
| 218 | + | |
| 219 | + | |
209 | 220 | | |
210 | 221 | | |
211 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
| |||
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
93 | | - | |
| 90 | + | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
103 | | - | |
| 100 | + | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments