Commit e6a9d88
Support TON as destination (#140)
* add msg, need to test
* add unit tests
* goimport
* add typescript msg hash script to compare with golang msghasher, right now failed to match, will check
* identation
* skip test for now
* update comments
* ts tidy
* lint
* lint
* Implement bindings for TON as destination
* Update bindings to match the new interface
* changeset: Directly specify OnRamp address
* fix broken test for all codecs
* fix make errors
* add gasLimit back from both on-chain and off-chain
* remove offramp tolk gasLimit usage for now, keep the types in binding but not using it. Adding proper cell building helper function, need fix it and re-enable test
* update comments
* update
* Remove SourceChains config from deploy step
* changeset: Implement setOCR3Config
* Support setting multiple dest chain configs at once on fee quoter too
* changeset: Fix set offramp sources, test source config fetching
* Address a lint
* Handle empty sourceChainConfigs
* add debug prints
* Accessor: EVM2TON Event Queries (#141)
* Implement bindings for TON as destination
* chore: marking TODOs
* feat: offramp event query wip
* fix: wrong type
* modify commitReportAccepted event, assume no batching, add test
* chore: clean up
* feat: binding for CommitReportAccepted
* chore: queries wip
* chore: CommitReportsGTETimestamp wip
---------
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: vicente <vicentevieytes@hotmail.com>
* feat: convert price updates
* chore: clean up processMerkleRoot
* chore: comment
* fix: accessor Sync event filter behavior
* fix test
* add offramp binding and contract transmitter
* rm empty test
* chore: commit attempt
* fix: commit report binding, deployer as transmitter
* chore: debugging
* enable contract transmitter in ccip provider, and return commit ct by default, need to have a new flag to differentiate commit vs execute.
* chore: adding debug lines
* Implement offramp config fetching
* Read OnRamp address
* Bump chainlink-common
* Workaround minSeqNr not being updated
* update ccip provider to use new relay args for contract transmitter, bump common version
* chore: tidy
* chore: missing event wip
* fix: replay in goroutine
* Update chainlink-common
* Follow EVM flow and return zero values for some getters
* Fix transmitter FromAddress
* fix: add replay ctx
* Move test key funding to deployment/ rather than integration-tests
* Fix various transmitter bugs
* Fix wallet tx signing
* Reorder signature format so we match Aptos/keystore implementation
* Use the right error code for GetChainFeePriceUpdate
* Proper zero value
* Fix CommitReportAccepted event name
* Ignore events with no merkle roots
* Fix Nonces()
* Fix ocr3base tests
* chore: CommitReportsGTETimestamp query TDD
* fix: filter report with merkle root only
* update
* add comments back
* fix test and add comments
* small fix (#160)
* [NONEVM-2514] Parallelize Jetton tests + Deploy MyLocalTon once (#161)
* cicd: pararelize jetton tests
* fix: test count test
* fix: golint
* fix: golint
* fix: assert
* Relayer: LogPoller lookback window (#158)
* feat: logpoller lookback window
* chore: update default config
* chore: clean up, add unit tests
* fix: name, lookback window calc
* chore: clean up
* fix: temp lookback window in replay
* chore: clean up
* fix: remove url logging in the relay
* [NONEVM-2515] Parallelize tracetracker tests (#162)
* test: reduce time of integration tests
* Improve Nix devex - add lock-nix-tidy bin (#157)
* Improve Nix devex - add lock-nix-tidy bin
* Polish the script
* Update docs
* Update lock.nix docs
* Refactor, extract generic types to remove chainlink/deployment dependency (#164)
* Refactor, extract generic types to remove chainlink/deployment dependency
* Use a single ChainDefinition type
* Remove AddressBook
* Derive chain family from the chain selector
* More logging
* Better logs
* Bump core version
* cicd: Stop running short tests (#165)
* Fix: this was removed
* Fix build
* fix: onramp event gobindings, testtoken, accessor unit tests
* feat: accessor ExecutedMessages, ExecutionStateChanged binding
* Remove OnRampAddr from the RampMessageHeader
* fix: remove separate binding
* PriceReader impl
* remove yubisneeze
* Test helpers should throw so we get a nice diff
* Get tests to pass again
* Pack tokenPrices so they fit in a single slot
* fix: accessor test
* chore: nix hash
* Allow some of the matches to fail
* prettier -w .
* Update go.md (I had to do it by hand?)
* Resolve most golangci-lints
* Fix test, min seq nr gets set to 1 once chain is configured
* go.md
* fix failing test
* Properly implement the updateSourceChainConfig logic
* Update core_version
* Remove unused imports
* chore: remove iterative onramp tests
* Bump core version...
* Fix: need to mark as always disabled
* Build contracts and use the local contract version
* Bump core_version
* Fix symlink
* Fix tests
* missing quote
* chore: remove RawOutgoingExternalMessages
* update test helper wallet message mode
* test: merge duplicated tests
* fix build
* check what's under chainlink
* rm symlink as it already defined
---------
Co-authored-by: Joe Huang <joe.huang@smartcontract.com>
Co-authored-by: Jonghyeon Park <jadepark.dev@gmail.com>
Co-authored-by: vicente <vicentevieytes@hotmail.com>
Co-authored-by: Nicolas Mouso <nicolasgnr@gmail.com>
Co-authored-by: Patricio <contact@patricios.space>
Co-authored-by: Kristijan Rebernisak <kristijan.rebernisak@gmail.com>
Co-authored-by: Oliver Townsend <oliver.townsend@smartcontract.com>
Co-authored-by: Patricio Tourne Passarino <patricio.passarino@smartcontract.com>1 parent 38a9dbd commit e6a9d88
File tree
73 files changed
+3110
-745
lines changed- .github/workflows
- cmd/chainlink-ton
- contracts
- contracts
- ccip
- lib/ocr
- tests
- ccip
- helpers
- wrappers
- ccip
- examples/ocr
- deployment
- ccip
- config
- operation
- sequence
- utils
- state
- utils
- view
- integration-tests
- deployment
- smoke/chainaccessor
- pkg
- ccip
- bindings
- common
- feequoter
- ocr
- offramp
- onramp
- chainaccessor
- codec
- ocr
- provider
- logpoller
- types/query
- relay
- ton/tracetracking
- txm
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+3110
-745
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
358 | 364 | | |
359 | 365 | | |
360 | 366 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
| 367 | + | |
365 | 368 | | |
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
369 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
370 | 375 | | |
371 | | - | |
| 376 | + | |
372 | 377 | | |
373 | 378 | | |
374 | | - | |
375 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
376 | 383 | | |
377 | 384 | | |
378 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
30 | 44 | | |
31 | 45 | | |
32 | 46 | | |
| |||
68 | 82 | | |
69 | 83 | | |
70 | 84 | | |
71 | | - | |
| 85 | + | |
72 | 86 | | |
73 | 87 | | |
| 88 | + | |
74 | 89 | | |
75 | | - | |
76 | 90 | | |
77 | 91 | | |
78 | 92 | | |
| |||
231 | 245 | | |
232 | 246 | | |
233 | 247 | | |
234 | | - | |
235 | 248 | | |
236 | 249 | | |
237 | 250 | | |
238 | | - | |
239 | 251 | | |
240 | 252 | | |
241 | 253 | | |
| |||
317 | 329 | | |
318 | 330 | | |
319 | 331 | | |
320 | | - | |
| 332 | + | |
321 | 333 | | |
322 | 334 | | |
323 | 335 | | |
324 | 336 | | |
325 | 337 | | |
326 | | - | |
| 338 | + | |
327 | 339 | | |
328 | | - | |
| 340 | + | |
329 | 341 | | |
330 | 342 | | |
| 343 | + | |
331 | 344 | | |
| 345 | + | |
| 346 | + | |
332 | 347 | | |
333 | 348 | | |
334 | 349 | | |
| |||
371 | 386 | | |
372 | 387 | | |
373 | 388 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
379 | 397 | | |
380 | 398 | | |
381 | 399 | | |
| |||
452 | 470 | | |
453 | 471 | | |
454 | 472 | | |
455 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
456 | 493 | | |
457 | 494 | | |
458 | 495 | | |
459 | | - | |
460 | 496 | | |
461 | 497 | | |
462 | 498 | | |
| |||
467 | 503 | | |
468 | 504 | | |
469 | 505 | | |
470 | | - | |
471 | 506 | | |
472 | 507 | | |
473 | 508 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
481 | 512 | | |
482 | 513 | | |
483 | | - | |
484 | 514 | | |
485 | 515 | | |
486 | 516 | | |
487 | 517 | | |
488 | | - | |
489 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
490 | 530 | | |
491 | 531 | | |
492 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| |||
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
| 403 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
0 commit comments