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

Create initial release #182

Closed
wants to merge 1,876 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1876 commits
Select commit Hold shift + click to select a range
1015270
Merge branch 'feat/BCI-2538-update-examples' of github.com:smartcontr…
chris-de-leon-cll Mar 5, 2024
14595d0
removes hardcoded accounts from packages-ts
chris-de-leon-cll Mar 6, 2024
b6b08c1
packages-ts/starknet-gauntlet/provider/index.ts: use v3 transactions
cfal Mar 5, 2024
25a700a
starknet-gauntlet/provider/index.ts: prettier fix for an unrelated ch…
cfal Mar 6, 2024
0cb5f76
Merge pull request #366 from smartcontractkit/gauntlet-tx-v3
cfal Mar 6, 2024
29434ab
Merge pull request #368 from smartcontractkit/feat/BCI-2623-remove-ha…
chris-de-leon-cll Mar 7, 2024
c8179ff
Added overrides to ignore
smickovskid Mar 11, 2024
021f7fd
Merge pull request #364 from smartcontractkit/feat/BCI-2538-update-ex…
archseer Mar 12, 2024
a780d1a
minor: Fix broken lint
archseer Mar 12, 2024
fb70e9d
Merge pull request #356 from smartcontractkit/fix_ci
archseer Mar 12, 2024
d5674f2
removes starknet-hardhat plugin from contracts folder
chris-de-leon-cll Mar 15, 2024
35b60eb
resolving merge conflicts
chris-de-leon-cll Mar 15, 2024
711d42f
minor renaming
chris-de-leon-cll Mar 15, 2024
091988c
updates comment in hardhat config
chris-de-leon-cll Mar 15, 2024
79ca21c
updates packages
chris-de-leon-cll Mar 15, 2024
ff95f44
refactors callContract and CallData.compile
chris-de-leon-cll Mar 18, 2024
555be08
Merge pull request #374 from smartcontractkit/chore/BCI-2622-remove-s…
archseer Mar 19, 2024
6e7d391
starknet-gauntlet/provider/index.ts: add missing DeclareContractRespo…
cfal Mar 5, 2024
ec92557
starknet-gauntlet/transaction/index.ts: add missing response types
cfal Mar 5, 2024
fe1ee53
packages-ts: add category and action to ExecutionContext
cfal Mar 5, 2024
e259d02
starknet-gauntlet/provider/index.ts: add deployAccountContract to Pro…
cfal Mar 5, 2024
57a74e6
starknet-gauntlet/commands/base/executeCommand.ts: handle deploy-acco…
cfal Mar 5, 2024
4604fd7
starknet-gauntlet-oz/commands/account/deploy.ts: print out deploy action
cfal Mar 5, 2024
72b447e
starknet-gauntlet-oz/commands/account: add deploy-account command
cfal Mar 5, 2024
68e8144
starknet-gauntlet-oz/commands/account/deploy.ts: classHash has to be …
cfal Mar 5, 2024
eefdf75
starknet-gauntlet/commands/base/executeCommand.ts: remove declare fro…
cfal Mar 5, 2024
d7de176
starknet-gauntlet/commands/base/executeCommand.ts: wait for user to f…
cfal Mar 5, 2024
86b3948
packages-ts: allow seed of 0
cfal Mar 5, 2024
74cf44f
starknet-gauntlet-oz/test/commands/account.test.ts: update deploy import
cfal Mar 19, 2024
9c6d710
starknet-gauntlet-token/test/commands/token.test.ts: fix OZ deploy im…
cfal Mar 19, 2024
8e1d11d
Fixing payees (#375)
smickovskid Mar 20, 2024
a0d129a
Add dependabot config for github actions
archseer Mar 21, 2024
6be59d8
Bump changesets/action from 1.3.0 to 1.4.7 (#378)
dependabot[bot] Mar 21, 2024
ca97866
Bump actions/checkout from 3 to 4 (#383)
dependabot[bot] Mar 21, 2024
2c884ef
Bump github/codeql-action from 2 to 3 (#379)
dependabot[bot] Mar 21, 2024
3e7b806
Bump docker/setup-buildx-action from 2.2.1 to 3.2.0 (#382)
dependabot[bot] Mar 21, 2024
d12dc0d
Bump aws-actions/configure-aws-credentials from 1.7.0 to 4.0.2 (#380)
dependabot[bot] Mar 21, 2024
e8e3377
Bump docker/build-push-action from 3.2.0 to 5.3.0 (#381)
dependabot[bot] Mar 21, 2024
404dbd3
Merge pull request #367 from smartcontractkit/gauntlet-deploy-account
archseer Mar 21, 2024
57797d0
bump chainlink-testing-framework (#384)
jmank88 Mar 22, 2024
b853434
[BCI-2813]: Consistent CI (#377)
chris-de-leon-cll Mar 22, 2024
1559f24
Remove amarna workflow, it hasn't been compatible for a long time
archseer Mar 22, 2024
df724bb
initial
augustbleeds Mar 1, 2024
af86ccb
add comment
augustbleeds Mar 1, 2024
2a16563
retry on estimation failure if nonce error
augustbleeds Mar 4, 2024
7057e8a
check for nonce error in confirmer
augustbleeds Mar 5, 2024
92bb462
fix txm tests
augustbleeds Mar 5, 2024
204977c
fix function invoke
augustbleeds Mar 5, 2024
4ed7e33
fix err string handling
augustbleeds Mar 6, 2024
332d242
(debug) nonce (#369)
augustbleeds Mar 8, 2024
f80d74c
add delay to handling nonce
augustbleeds Mar 8, 2024
05e2a57
set apikey to empty string if none
augustbleeds Mar 11, 2024
0e93af1
set l2 instead of l1 gas info
augustbleeds Mar 11, 2024
0d62dd9
add key
augustbleeds Mar 11, 2024
0b3ded4
switch back to L1Gas
augustbleeds Mar 11, 2024
b5c683d
higher gas pad
augustbleeds Mar 11, 2024
00ad33e
remove chainid
augustbleeds Mar 11, 2024
35153e2
remove invalidate flag + fix tests
augustbleeds Mar 11, 2024
8f6db35
simplify validate
augustbleeds Mar 11, 2024
e3fd312
add back skip validate flags for good
augustbleeds Mar 12, 2024
57ee0f1
adjust token amount + add exp timer (#370)
augustbleeds Mar 12, 2024
3dc38df
bubble up sync error
augustbleeds Mar 18, 2024
9d5f632
verbose err logging
augustbleeds Mar 18, 2024
44ca25f
Image bump
smickovskid Mar 19, 2024
21294f2
pass key not address into validate
augustbleeds Mar 19, 2024
6b11407
dont error if no pending txs are found
augustbleeds Mar 19, 2024
78dd511
relayer/pkg/chainlink/txm/txm.go: print broadcast errors correctly
cfal Mar 20, 2024
e9776f8
relayer/pkg/chainlink/txm/txm.go: use smallest unconfirmed nonce for …
cfal Mar 20, 2024
1e0ed89
relayer/pkg/chainlink/txm/txm.go: print fee estimation error
cfal Mar 20, 2024
db1f111
relayer/pkg/chainlink/txm/txstore.go: add GetSmallestUnconfirmedNonce
cfal Mar 20, 2024
2d87c13
relayer/pkg/starknet/client.go: dont create an account just to get nonce
cfal Mar 21, 2024
a633afd
relayer/pkg/chainlink/txm/txm.go: add estimateFriFee
cfal Mar 21, 2024
a68d7c5
TEMP: change handleNonceErr log to error
cfal Mar 21, 2024
4ac0f90
relayer/pkg/chainlink/txm/txm.go: dont spin in the for loop when ther…
cfal Mar 21, 2024
2b531e3
relayer/pkg/chainlink/txm/txm.go: use estimateFriFee
cfal Mar 21, 2024
9b32875
relayer/pkg/chainlink/txm/txm.go: log feeder error
cfal Mar 21, 2024
7e5cc94
integration-tests: revert tests to original nonce error branch
cfal Mar 22, 2024
5a6bfe7
relayer/pkg/chainlink/txm/txm.go: increase padding
cfal Mar 22, 2024
9c64730
relayer/pkg/chainlink/txm/txm.go: remove unused nonce code for now
cfal Mar 22, 2024
14b8da1
relayer/pkg/chainlink/txm/txm.go: change estimate fee startup message…
cfal Mar 22, 2024
8526c5a
rename NewTestServer to NewTestFeederServer, fix lint error
cfal Mar 22, 2024
ef4875f
relayer/pkg/chainlink/txm/txm.go: increase estimate attempts to 5
cfal Mar 22, 2024
aa9cb06
relayer/pkg/chainlink/txm: rename ChainTxStore to AccountStore, remov…
cfal Mar 22, 2024
fa1842f
relayer/pkg/chainlink/txm: remove NonceManager, combine with TxStore
cfal Mar 22, 2024
e2016bc
relayer/pkg/chainlink/txm/txm.go: cleanup logging and comments
cfal Mar 22, 2024
0f7eb05
Merge pull request #376 from smartcontractkit/nonce-debug
archseer Mar 25, 2024
2258c71
build(deps): bump docker/metadata-action from 4.1.1 to 5.5.1 (#386)
dependabot[bot] Mar 26, 2024
8f99adc
build(deps): bump smartcontractkit/push-gha-metrics-action (#387)
dependabot[bot] Mar 26, 2024
a8f879c
build(deps): bump docker/login-action from 2.1.0 to 3.1.0 (#388)
dependabot[bot] Mar 26, 2024
d5ce199
build(deps): bump dawidd6/action-download-artifact from 2.27.0 to 3.1…
dependabot[bot] Mar 26, 2024
c12413e
build(deps): bump actions/upload-artifact from 3 to 4 (#390)
dependabot[bot] Mar 26, 2024
90cdc16
add upgrade cmd to multisig (#372)
augustbleeds Mar 26, 2024
d42f061
Fix Flaky Validator Messaging Test (#394)
chris-de-leon-cll Mar 28, 2024
6c3b6f7
adds scripts
chris-de-leon-cll Mar 29, 2024
a2bfc96
make container_version modifiable for backwards compatibility
chris-de-leon-cll Mar 29, 2024
38b10b2
adds comments to sncast scripts
chris-de-leon-cll Mar 29, 2024
556f330
add field (#392)
augustbleeds Apr 1, 2024
31e1909
adds devnet and testnet profiles, simplifies test_consumer.cairo for …
chris-de-leon-cll Apr 1, 2024
6cd8cf3
build(deps): bump smartcontractkit/push-gha-metrics-action (#397)
dependabot[bot] Apr 2, 2024
0d967e0
build(deps): bump cachix/install-nix-action from 19 to 26 (#398)
dependabot[bot] Apr 2, 2024
c6e6a9c
build(deps): bump cachix/cachix-action from 12 to 14 (#399)
dependabot[bot] Apr 2, 2024
56752b6
Create monitor without kafka (#393)
augustbleeds Apr 2, 2024
1cb5883
fix image (#400)
augustbleeds Apr 2, 2024
01036c5
updates starknet foundry download link, adds --name flag to deploy-ac…
chris-de-leon-cll Apr 2, 2024
2c626d9
update ubuntu production image (#402)
augustbleeds Apr 2, 2024
59585eb
cleaning up scarb.toml in scripts folder
chris-de-leon-cll Apr 2, 2024
85200af
relayer/pkg/chainlink/txm: resync nonce on rejection and broadcast er…
cfal Apr 3, 2024
211c244
Update to OZ 0.10, cairo/scarb 2.6.3
archseer Mar 14, 2024
8ad7c3e
Simplify loops with while let
archseer Mar 14, 2024
9052673
Update starknet.go to 0.7 (requires RPC v0.7)
archseer Mar 14, 2024
92a530d
Use the newly added RPCError
archseer Mar 14, 2024
c264f78
Use latest upstream starknet-devnet-rs
archseer Mar 14, 2024
c29e6d6
Seems to fix problems with err typing?
archseer Mar 14, 2024
49a32db
Bump starknet-foundry to 0.19.0
archseer Mar 14, 2024
a20eb09
Update to new devnet with 2.6 support
archseer Apr 1, 2024
e96dcd6
Use upstream starknet.go with the merged fix
archseer Apr 1, 2024
55dcd74
Bump starknet.js
archseer Apr 1, 2024
170399b
Remove outdated and unused starsign-multisig
archseer Apr 1, 2024
bee6c00
relayer: Adjust gas estimation to include data_gas via overallfee
archseer Apr 2, 2024
dd4a7a1
Use RPC v0.7 for integration tests
archseer Apr 2, 2024
0355087
Fix failing aggregator test
archseer Apr 2, 2024
b8af7b3
relayer/pkg/chainlink/txm/txm.go: dont call String on nil FeeEstimate…
cfal Apr 2, 2024
1a80527
Fix chainID, devnet now uses SN_SEPOLIA over SN_GOERLI
archseer Apr 3, 2024
0bf50a8
devnet: also set --data-gas-price
archseer Apr 3, 2024
15e04d9
Merge pull request #371 from smartcontractkit/cairo-2.6.3
archseer Apr 3, 2024
219ecc9
resolving merge conflicts
chris-de-leon-cll Apr 3, 2024
170e41c
upgrading to cairo 2.6.3
chris-de-leon-cll Apr 3, 2024
9e24610
bumps starknet foundry to v0.21.0
chris-de-leon-cll Apr 3, 2024
f3d6647
flushing messages after each transaction in StarknetValidator l1-l2 m…
chris-de-leon-cll Apr 4, 2024
c97baa6
Merge pull request #396 from smartcontractkit/feat/BCI-2714-sncast-sc…
archseer Apr 4, 2024
ab52619
fix: off-by-one in SequencerUptimeFeed::round_data
archseer Apr 3, 2024
8f0d923
fix: Correctly record sender on L1 calls
archseer Apr 3, 2024
20b41fb
Annotate events with index keys
archseer Apr 3, 2024
96ee08d
Adjust event parsing to account for event keys
archseer Apr 5, 2024
6ad7907
updates addresses and class hashes + introduces a max fee flag for de…
chris-de-leon-cll Apr 4, 2024
f2caf6e
resolving sncast script read access permission issue for testnet
chris-de-leon-cll Apr 5, 2024
c5977c4
adds more realistic timestamp values
chris-de-leon-cll Apr 5, 2024
a129983
Adjust constNumOfKeys to also include event.ID in the count
archseer Apr 8, 2024
f996ee2
Merge pull request #404 from smartcontractkit/audit-fixes
archseer Apr 8, 2024
7f3a768
build(deps): bump sonarsource/sonarqube-scan-action from 2.0.1 to 2.0…
dependabot[bot] Apr 9, 2024
a54448e
build(deps): bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#407)
dependabot[bot] Apr 9, 2024
14a0774
Remove gauntlet exmaple commands (we no longer use it for examples/)
archseer Apr 9, 2024
432411e
gauntlet: Fix ConfigSet event decoding
archseer Apr 9, 2024
fcb45a1
Rewrite starknet-gauntlet-ledger for starknet.js 6.0
archseer Apr 10, 2024
6cb98ec
Merge pull request #408 from smartcontractkit/rm-gauntlet-examples
archseer Apr 10, 2024
610de0c
starknet-gauntlet-ledger: Clean up getPubKey()
archseer Apr 10, 2024
d2dff71
Add a test script for Ledger
archseer Apr 10, 2024
8cf7b7f
use latest (#413)
augustbleeds Apr 15, 2024
354e93d
Attempt to verify signatures via ledger
archseer Apr 11, 2024
4e09548
Use latest upstream package
archseer Apr 17, 2024
79d5810
Node Balance Monitoring for STOM (#414)
augustbleeds Apr 25, 2024
7b8bf80
bump chainlink-common (#416)
augustbleeds Apr 25, 2024
ab79dc8
bump chainlink-common (#420)
augustbleeds Apr 26, 2024
c0b6a58
BCI-3127: erc20 client reads u256 not felt252 (#421)
augustbleeds Apr 26, 2024
485e601
fix label (#422)
augustbleeds Apr 26, 2024
09ebc1a
BCI-3127: write lastConfigDigest to rdd (#419)
augustbleeds Apr 29, 2024
50c7a33
BCI-3127: monitoring report observation length (#418)
augustbleeds Apr 29, 2024
901d08f
[KS-186] Add stub implementation of ocr3 capability provider
cedric-cordenier May 8, 2024
e66b9ef
WIP
cedric-cordenier May 8, 2024
1b1ce78
make integration tests compile
Tofel May 8, 2024
2bdbef0
One more time
cedric-cordenier May 8, 2024
1024f2b
Merge pull request #426 from smartcontractkit/KS-186-AddOCR3Capabilit…
cedric-cordenier May 8, 2024
062a4a5
pad config digest (#428)
augustbleeds May 14, 2024
0425d3e
BCI-32170: Add propose and accept ownership commands (#429)
augustbleeds May 14, 2024
2f9960e
add gas price metrics (#423)
augustbleeds May 16, 2024
d3dd652
adds batching mvp
chris-de-leon-cll May 21, 2024
4141f8c
clean up test cases and add tests for transfer_ownership and accept_o…
chris-de-leon-cll May 21, 2024
b02f190
remove --batch flag
chris-de-leon-cll May 21, 2024
b1f31c0
Starknet Chain Client: Add Block Methods (#373)
augustbleeds May 23, 2024
65e4f3e
Merge pull request #433 from smartcontractkit/gauntlet-batching-mvp
chris-de-leon-cll May 23, 2024
1d2e2ed
adds md file to document starknet artifacts usage
chris-de-leon-cll May 24, 2024
7798052
golangci-lint: enable containedctx
jmank88 May 14, 2024
b4a0cdd
Merge pull request #430 from smartcontractkit/BCF-3203-lint-containedctx
jmank88 May 24, 2024
0da2b74
adding setup guide for gauntlet
chris-de-leon-cll May 24, 2024
6e8c34a
Removing sonar from running on merge (#436)
smickovskid May 27, 2024
56197f1
Satisfy Relayer interface with unsupported NewContractReader impl. (#…
ilija42 May 27, 2024
4bf8c47
Merge pull request #435 from smartcontractkit/add-artifacts-documenta…
chris-de-leon-cll May 30, 2024
baef1fd
Update packages-ts/starknet-gauntlet/README.md
chris-de-leon-cll May 30, 2024
63b7807
improves batching support by allowing different inputs to each call w…
chris-de-leon-cll May 31, 2024
99118e4
Update buildreport to use gasprice answer (#442)
augustbleeds May 31, 2024
e0ec761
implement starknet_getEvent in chain client with testing
skippaDaBitFlippa May 31, 2024
a7cd87f
Merge pull request #437 from smartcontractkit/document-gauntlet
chris-de-leon-cll May 31, 2024
022c186
add rdd test case
chris-de-leon-cll May 31, 2024
f297a8d
Merge pull request #444 from smartcontractkit/BCI-3334-implement-log-…
skippaDaBitFlippa May 31, 2024
9596338
initial (#446)
augustbleeds May 31, 2024
814b1db
clean up
chris-de-leon-cll May 31, 2024
45f65ae
Merge pull request #443 from smartcontractkit/rdd-batching
chris-de-leon-cll May 31, 2024
993c073
wraps devnet hardhat scripts with nix
chris-de-leon-cll Jun 3, 2024
75e8358
use mkDerivation and default.nix instead of flake.nix
chris-de-leon-cll Jun 3, 2024
d47e556
Merge pull request #449 from smartcontractkit/nixify-devnet-hardhat-s…
chris-de-leon-cll Jun 3, 2024
68cd850
Merge pull request #410 from smartcontractkit/ledger-support
archseer Jun 4, 2024
7ca9a81
Fix OCR2 deploy command variable casing (#450)
chris-de-leon-cll Jun 4, 2024
a03314b
build(deps): bump sonarsource/sonarqube-scan-action from 2.0.2 to 2.1…
dependabot[bot] Jun 4, 2024
3b69027
build(deps): bump cachix/install-nix-action from 26 to 27 (#432)
dependabot[bot] Jun 4, 2024
7031989
build(deps): bump smartcontractkit/push-gha-metrics-action (#447)
dependabot[bot] Jun 4, 2024
0ecd3e5
chore: github action version bumps (#424)
erikburt Jun 4, 2024
516c6e3
build(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#448)
dependabot[bot] Jun 4, 2024
5d9d290
Revert "chore: github action version bumps (#424)" (#451)
archseer Jun 4, 2024
188470b
Bump dawidd6/action-download-artifact
timweri Jun 4, 2024
5d95a06
updates rdd input parsing for set_payees
chris-de-leon-cll Jun 4, 2024
b94e491
add additional logging and validation check
chris-de-leon-cll Jun 4, 2024
b3fe3c3
Merge pull request #452 from smartcontractkit/update-workflow
timweri Jun 4, 2024
c478a3f
[TT-1032] Add usage of gotestloghelper and collect test metrics (#427)
tateexon Jun 5, 2024
dfcd0f9
fix regression with after execute hook that was introduced by rdd bat…
chris-de-leon-cll Jun 5, 2024
4e5a455
Merge pull request #454 from smartcontractkit/fix/rdd-batching-after-…
chris-de-leon-cll Jun 5, 2024
3d747c7
Merge branch 'develop' into update-set-payees-rdd-input-parsing
chris-de-leon-cll Jun 5, 2024
5518106
nixify devnet hardhat scripts
chris-de-leon-cll Jun 5, 2024
16dc7ce
Merge pull request #453 from smartcontractkit/update-set-payees-rdd-i…
chris-de-leon-cll Jun 5, 2024
2a874f6
Merge pull request #455 from smartcontractkit/nixify-devnet-hardhat-s…
chris-de-leon-cll Jun 5, 2024
fa64980
BCI-3349: Add latest_answer (#457)
augustbleeds Jun 11, 2024
502adad
fix ledger wallet creation (#461)
augustbleeds Jun 11, 2024
4980bd5
fix multisig inspect and multisig set_signers
chris-de-leon-cll Jun 11, 2024
a3abc5d
fix test cases
augustbleeds Jun 11, 2024
263e419
lint
augustbleeds Jun 11, 2024
ad7ba95
Merge pull request #463 from smartcontractkit/multisig-fixes
chris-de-leon-cll Jun 11, 2024
8f49fff
fix monitoring (#462)
augustbleeds Jun 12, 2024
0824f4b
Update Cairo/Scarb (#464)
augustbleeds Jun 13, 2024
adfa6f0
build(deps): bump docker/build-push-action from 5.3.0 to 5.4.0 (#459)
dependabot[bot] Jun 13, 2024
e6284b5
build(deps): bump smartcontractkit/push-gha-metrics-action (#460)
dependabot[bot] Jun 13, 2024
eb4c925
build(deps): bump cachix/cachix-action from 14 to 15 (#439)
dependabot[bot] Jun 13, 2024
e2ec96b
Adding on demand soak (#458)
smickovskid Jun 13, 2024
7e59494
Adding NewCCIPCommitProvider + NewCCIPExecProvider to relay (#445)
patrickhuie19 Jun 21, 2024
06ab5e6
Add capRegistry to NewRelayer (#472)
archseer Jun 25, 2024
4a34005
remove error (#479)
augustbleeds Jul 1, 2024
2ea7f4f
chore: update action-download-artifact
momentmaker Jul 1, 2024
6da1e3f
feat: add starknet-devnet-down script as a nix app
willyrgf Jul 4, 2024
8871bab
fix: e2e test dependencies (#488)
aalu1418 Jul 8, 2024
800e241
Add disable check specifically for proxy address (#489)
augustbleeds Jul 8, 2024
0361209
[BCI-3438] Add stub chain writer method onto starknet relayer (#475)
nickcorin Jul 9, 2024
2216892
add scripts as package to enable importing from other flake.nix
willyrgf Jul 8, 2024
8d2111a
Merge branch 'develop' into add-starknet-devnet-down
willyrgf Jul 11, 2024
8874def
feat: add starknet-devnet scripts as a nix pkg and app
willyrgf Jul 12, 2024
5f11cca
fix signature (#491)
augustbleeds Jul 18, 2024
62d2156
bump ctf
jmank88 Aug 1, 2024
ef54507
BCI-3898: fix multisig set config bug (#497)
augustbleeds Aug 1, 2024
94dc063
read pending block not latest (#465)
augustbleeds Aug 1, 2024
b5d9082
Merge pull request #498 from smartcontractkit/ctf-bump
jmank88 Aug 1, 2024
51b0712
bug fix: correct false signal to transmit(#500)
augustbleeds Aug 2, 2024
ac149a0
Merge branch 'develop' into chore/update-action-download-artifact
momentmaker Aug 2, 2024
6b771a5
Merge pull request #483 from smartcontractkit/chore/update-action-dow…
momentmaker Aug 2, 2024
8ca85b4
update the cache used for LatestRoundRequested (#503)
augustbleeds Aug 5, 2024
c8cf87b
use gomods; update generated; add CI check for tidy+generate
jmank88 Aug 6, 2024
9907271
Merge pull request #505 from smartcontractkit/gomods
jmank88 Aug 6, 2024
4f3cd0c
paginate events (#506)
augustbleeds Aug 6, 2024
63730d4
notify guardian if test image build failed
Tofel Aug 8, 2024
fd6e1f3
Merge pull request #507 from smartcontractkit/tt_1429_notify_guardian
Tofel Aug 8, 2024
1c5b30b
.golangci.yml: update rules
jmank88 Aug 21, 2024
814cf57
make nix-flake-update
jmank88 Aug 21, 2024
83d5fbb
Update golangci-lint Go dep to 1.22
krebernisak Aug 21, 2024
8cfc6ff
Merge pull request #514 from smartcontractkit/golangci-lint-rules
jmank88 Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
20 changes: 20 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}
53 changes: 53 additions & 0 deletions .github/actions/build-test-image/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build Test Image
description: A composite action that allows building and publishing the test remote runner image

inputs:
tag:
description: The tag to use by default and to use for checking image existance
default: ${{ github.sha }}
required: false
other_tags:
description: Other tags to push if needed
required: false
QA_AWS_ROLE_TO_ASSUME:
description: The AWS role to assume as the CD user, if any. Used in configuring the docker/login-action
required: true
QA_AWS_REGION:
description: The AWS region the ECR repository is located in, should only be needed for public ECR repositories, used in configuring docker/login-action
required: true
QA_AWS_ACCOUNT_NUMBER:
description: The AWS region the ECR repository is located in, should only be needed for public ECR repositories, used in configuring docker/login-action
required: true

runs:
using: composite
steps:
- name: Install Cairo
uses: ./.github/actions/install-cairo
- name: Check if image exists
id: check-image
uses: smartcontractkit/chainlink-github-actions/docker/image-exists@fc3e0df622521019f50d772726d6bf8dc919dd38 # v2.3.19
with:
repository: chainlink-starknet-tests
tag: ${{ inputs.tag }}
AWS_REGION: ${{ inputs.QA_AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
- name: Build and Publish Test Runner
if: steps.check-image.outputs.exists == 'false'
uses: smartcontractkit/chainlink-github-actions/docker/build-push@fc3e0df622521019f50d772726d6bf8dc919dd38 # v2.3.19
with:
tags: |
${{ inputs.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ inputs.QA_AWS_REGION }}.amazonaws.com/chainlink-starknet-tests:${{ inputs.tag }}
${{ inputs.other_tags }}
file: ./integration-tests/test.Dockerfile
build-args: |
SUITES="smoke soak"
AWS_REGION: ${{ inputs.QA_AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
- name: Print Image Built
env:
INPUTS_TAG: ${{ inputs.tag }}
shell: sh
run: |
echo "### chainlink-starknet-tests image tag for this test run :ship:" >> $GITHUB_STEP_SUMMARY
echo "\`${INPUTS_TAG}\`" >> $GITHUB_STEP_SUMMARY
33 changes: 33 additions & 0 deletions .github/actions/install-cairo/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Install Cairo and Scarb
description: A composite action that installs cairo and scarb binaries

inputs:
cairo_version:
description: Cairo release version
default: "v2.6.4"
required: false
scarb_version:
description: Scarb release version
default: "v2.6.5"
required: false

runs:
using: composite
steps:
- name: Setup Cairo for Linux
id: install-cairo
shell: bash
run: |
wget https://github.com/starkware-libs/cairo/releases/download/${{ inputs.cairo_version }}/release-x86_64-unknown-linux-musl.tar.gz
tar -xvzf release-x86_64-unknown-linux-musl.tar.gz
mv -vf cairo cairo-build
echo "$GITHUB_WORKSPACE/cairo-build/bin" >> $GITHUB_PATH

- name: Setup Scarb for Linux
id: install-scarb
shell: bash
run: |
wget https://github.com/software-mansion/scarb/releases/download/${{ inputs.scarb_version }}/scarb-${{ inputs.scarb_version }}-x86_64-unknown-linux-musl.tar.gz
tar -xvzf scarb-${{ inputs.scarb_version }}-x86_64-unknown-linux-musl.tar.gz
mv -vf scarb-${{ inputs.scarb_version }}-x86_64-unknown-linux-musl scarb-build
echo "$GITHUB_WORKSPACE/scarb-build/bin" >> $GITHUB_PATH
19 changes: 19 additions & 0 deletions .github/actions/install-starknet-foundry/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Install Starknet Foundry (snforge and sncast)
description: A composite action that installs the snforge and sncast binaries

inputs:
starknet_foundry_version:
description: Starknet Foundry release version
default: "0.21.0"
required: false

runs:
using: composite
steps:
- name: Setup Starknet Foundry for Linux
id: install-starknet-foundry
shell: bash
run: |
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
snfoundryup -v ${{ inputs.starknet_foundry_version }}

9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
46 changes: 46 additions & 0 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Changesets

on:
push:
branches:
- main

jobs:
changesets:
name: Changesets
runs-on: ubuntu-latest
steps:
# Checkout this repository
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
# Install nix
- name: Install Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
nix_path: nixpkgs=channel:nixos-unstable
# Install dependencies using yarn
- name: Install Dependencies
run: nix develop -c yarn install --frozen-lockfile
# Create PR that will update versions or trigger publish
- name: Create Release Pull Request
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
id: changesets
with:
publish: nix develop -c yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Dispatch Relayer release
- name: Release relayer
run: gh workflow run .github/workflows/release/starknet-relayer.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Dispatch Gauntlet CLI build & release
- name: Build and release Gauntlet CLI
run: gh workflow run .github/workflows/release/starknet-gauntlet-cli.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45 changes: 45 additions & 0 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Contracts

on:
push:
branches:
- develop
- main
pull_request:

jobs:
contracts_run_ts_tests:
name: Run Typescript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Install Cairo
uses: ./.github/actions/install-cairo

- name: Test
run: nix develop -c make test-ts-contracts

contracts_run_cairo_tests:
name: Run Cairo Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Install Cairo
uses: ./.github/actions/install-cairo

- name: Test
run: nix develop -c make test-cairo-contracts
89 changes: 0 additions & 89 deletions .github/workflows/e2e_custom_cl.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Example Contracts

on:
push:
branches:
- develop
- main
pull_request:

jobs:
run_examples_tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Install Cairo
uses: ./.github/actions/install-cairo

- name: Install Starknet Foundry
uses: ./.github/actions/install-starknet-foundry

- name: Test
run: nix develop -c make test-examples
Loading
Loading