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

[NONEVM-641] Starting Gauntlet Plus Plus Container on e2e test startup #550

Closed
wants to merge 335 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
133f011
remove chainid
augustbleeds Mar 11, 2024
3a09408
remove invalidate flag + fix tests
augustbleeds Mar 11, 2024
869b633
simplify validate
augustbleeds Mar 11, 2024
2a29269
add back skip validate flags for good
augustbleeds Mar 12, 2024
180cbef
adjust token amount + add exp timer (#370)
augustbleeds Mar 12, 2024
f4d49c7
bubble up sync error
augustbleeds Mar 18, 2024
0c23243
verbose err logging
augustbleeds Mar 18, 2024
53d19bc
Image bump
smickovskid Mar 19, 2024
b6515d1
pass key not address into validate
augustbleeds Mar 19, 2024
e2e2eec
dont error if no pending txs are found
augustbleeds Mar 19, 2024
c385510
relayer/pkg/chainlink/txm/txm.go: print broadcast errors correctly
cfal Mar 20, 2024
06731dd
relayer/pkg/chainlink/txm/txm.go: use smallest unconfirmed nonce for …
cfal Mar 20, 2024
ca6c0b9
relayer/pkg/chainlink/txm/txm.go: print fee estimation error
cfal Mar 20, 2024
9f06def
relayer/pkg/chainlink/txm/txstore.go: add GetSmallestUnconfirmedNonce
cfal Mar 20, 2024
815551e
relayer/pkg/starknet/client.go: dont create an account just to get nonce
cfal Mar 21, 2024
4796c37
relayer/pkg/chainlink/txm/txm.go: add estimateFriFee
cfal Mar 21, 2024
9f6702e
TEMP: change handleNonceErr log to error
cfal Mar 21, 2024
3d16ca1
relayer/pkg/chainlink/txm/txm.go: dont spin in the for loop when ther…
cfal Mar 21, 2024
2229c94
relayer/pkg/chainlink/txm/txm.go: use estimateFriFee
cfal Mar 21, 2024
d2829c1
relayer/pkg/chainlink/txm/txm.go: log feeder error
cfal Mar 21, 2024
cf6f2d8
integration-tests: revert tests to original nonce error branch
cfal Mar 22, 2024
82617ea
relayer/pkg/chainlink/txm/txm.go: increase padding
cfal Mar 22, 2024
2610b8b
relayer/pkg/chainlink/txm/txm.go: remove unused nonce code for now
cfal Mar 22, 2024
3de4fe5
relayer/pkg/chainlink/txm/txm.go: change estimate fee startup message…
cfal Mar 22, 2024
6f529c0
rename NewTestServer to NewTestFeederServer, fix lint error
cfal Mar 22, 2024
5acec50
relayer/pkg/chainlink/txm/txm.go: increase estimate attempts to 5
cfal Mar 22, 2024
793226b
relayer/pkg/chainlink/txm: rename ChainTxStore to AccountStore, remov…
cfal Mar 22, 2024
cb87a44
relayer/pkg/chainlink/txm: remove NonceManager, combine with TxStore
cfal Mar 22, 2024
22a8ab1
relayer/pkg/chainlink/txm/txm.go: cleanup logging and comments
cfal Mar 22, 2024
4491910
Merge pull request #376 from smartcontractkit/nonce-debug
archseer Mar 25, 2024
1f53c7e
build(deps): bump docker/metadata-action from 4.1.1 to 5.5.1 (#386)
dependabot[bot] Mar 26, 2024
808a148
build(deps): bump smartcontractkit/push-gha-metrics-action (#387)
dependabot[bot] Mar 26, 2024
1390212
build(deps): bump docker/login-action from 2.1.0 to 3.1.0 (#388)
dependabot[bot] Mar 26, 2024
b4c7d0c
build(deps): bump dawidd6/action-download-artifact from 2.27.0 to 3.1…
dependabot[bot] Mar 26, 2024
0ff2138
build(deps): bump actions/upload-artifact from 3 to 4 (#390)
dependabot[bot] Mar 26, 2024
b07638c
add upgrade cmd to multisig (#372)
augustbleeds Mar 26, 2024
414757a
Fix Flaky Validator Messaging Test (#394)
chris-de-leon-cll Mar 28, 2024
21e3b24
adds scripts
chris-de-leon-cll Mar 29, 2024
920e629
make container_version modifiable for backwards compatibility
chris-de-leon-cll Mar 29, 2024
4b25fad
adds comments to sncast scripts
chris-de-leon-cll Mar 29, 2024
d2baf19
add field (#392)
augustbleeds Apr 1, 2024
b657280
adds devnet and testnet profiles, simplifies test_consumer.cairo for …
chris-de-leon-cll Apr 1, 2024
4847ab4
build(deps): bump smartcontractkit/push-gha-metrics-action (#397)
dependabot[bot] Apr 2, 2024
4f373c3
build(deps): bump cachix/install-nix-action from 19 to 26 (#398)
dependabot[bot] Apr 2, 2024
10c434a
build(deps): bump cachix/cachix-action from 12 to 14 (#399)
dependabot[bot] Apr 2, 2024
1da50a3
Create monitor without kafka (#393)
augustbleeds Apr 2, 2024
61d4440
fix image (#400)
augustbleeds Apr 2, 2024
08f38ad
updates starknet foundry download link, adds --name flag to deploy-ac…
chris-de-leon-cll Apr 2, 2024
4d86c3b
update ubuntu production image (#402)
augustbleeds Apr 2, 2024
ebbae72
cleaning up scarb.toml in scripts folder
chris-de-leon-cll Apr 2, 2024
a7892fb
relayer/pkg/chainlink/txm: resync nonce on rejection and broadcast er…
cfal Apr 3, 2024
c48cfcc
Update to OZ 0.10, cairo/scarb 2.6.3
archseer Mar 14, 2024
393de60
Simplify loops with while let
archseer Mar 14, 2024
aacc435
Update starknet.go to 0.7 (requires RPC v0.7)
archseer Mar 14, 2024
107c2ee
Use the newly added RPCError
archseer Mar 14, 2024
fb081ca
Use latest upstream starknet-devnet-rs
archseer Mar 14, 2024
fc2d67b
Seems to fix problems with err typing?
archseer Mar 14, 2024
0a4ae6e
Bump starknet-foundry to 0.19.0
archseer Mar 14, 2024
02ce74e
Update to new devnet with 2.6 support
archseer Apr 1, 2024
f6771eb
Use upstream starknet.go with the merged fix
archseer Apr 1, 2024
733ffa8
Bump starknet.js
archseer Apr 1, 2024
b0e447a
Remove outdated and unused starsign-multisig
archseer Apr 1, 2024
2ec9c05
relayer: Adjust gas estimation to include data_gas via overallfee
archseer Apr 2, 2024
4bfb43f
Use RPC v0.7 for integration tests
archseer Apr 2, 2024
b45c2ce
Fix failing aggregator test
archseer Apr 2, 2024
177d079
relayer/pkg/chainlink/txm/txm.go: dont call String on nil FeeEstimate…
cfal Apr 2, 2024
77bccff
Fix chainID, devnet now uses SN_SEPOLIA over SN_GOERLI
archseer Apr 3, 2024
e1e5927
devnet: also set --data-gas-price
archseer Apr 3, 2024
afbaae6
Merge pull request #371 from smartcontractkit/cairo-2.6.3
archseer Apr 3, 2024
db9e99e
resolving merge conflicts
chris-de-leon-cll Apr 3, 2024
b3e707e
upgrading to cairo 2.6.3
chris-de-leon-cll Apr 3, 2024
0c90d05
bumps starknet foundry to v0.21.0
chris-de-leon-cll Apr 3, 2024
33374e4
flushing messages after each transaction in StarknetValidator l1-l2 m…
chris-de-leon-cll Apr 4, 2024
a40732c
Merge pull request #396 from smartcontractkit/feat/BCI-2714-sncast-sc…
archseer Apr 4, 2024
67fe453
fix: off-by-one in SequencerUptimeFeed::round_data
archseer Apr 3, 2024
889cb79
fix: Correctly record sender on L1 calls
archseer Apr 3, 2024
e8341e7
Annotate events with index keys
archseer Apr 3, 2024
3e97553
Adjust event parsing to account for event keys
archseer Apr 5, 2024
14011b1
updates addresses and class hashes + introduces a max fee flag for de…
chris-de-leon-cll Apr 4, 2024
c61b9cc
resolving sncast script read access permission issue for testnet
chris-de-leon-cll Apr 5, 2024
bad5ac6
adds more realistic timestamp values
chris-de-leon-cll Apr 5, 2024
fee89a9
Adjust constNumOfKeys to also include event.ID in the count
archseer Apr 8, 2024
f6bfed8
Merge pull request #404 from smartcontractkit/audit-fixes
archseer Apr 8, 2024
0144a38
build(deps): bump sonarsource/sonarqube-scan-action from 2.0.1 to 2.0…
dependabot[bot] Apr 9, 2024
540c71a
build(deps): bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#407)
dependabot[bot] Apr 9, 2024
9d4665c
Remove gauntlet exmaple commands (we no longer use it for examples/)
archseer Apr 9, 2024
c1758d0
gauntlet: Fix ConfigSet event decoding
archseer Apr 9, 2024
8f76a6b
Rewrite starknet-gauntlet-ledger for starknet.js 6.0
archseer Apr 10, 2024
03fd15b
Merge pull request #408 from smartcontractkit/rm-gauntlet-examples
archseer Apr 10, 2024
8519d3e
starknet-gauntlet-ledger: Clean up getPubKey()
archseer Apr 10, 2024
0714334
Add a test script for Ledger
archseer Apr 10, 2024
db22edd
use latest (#413)
augustbleeds Apr 15, 2024
f426011
Attempt to verify signatures via ledger
archseer Apr 11, 2024
0385345
Use latest upstream package
archseer Apr 17, 2024
32232fe
Node Balance Monitoring for STOM (#414)
augustbleeds Apr 25, 2024
5fb98e8
bump chainlink-common (#416)
augustbleeds Apr 25, 2024
f0630cf
bump chainlink-common (#420)
augustbleeds Apr 26, 2024
10200f5
BCI-3127: erc20 client reads u256 not felt252 (#421)
augustbleeds Apr 26, 2024
db68c53
fix label (#422)
augustbleeds Apr 26, 2024
8a90c8d
BCI-3127: write lastConfigDigest to rdd (#419)
augustbleeds Apr 29, 2024
13a7382
BCI-3127: monitoring report observation length (#418)
augustbleeds Apr 29, 2024
f30c614
[KS-186] Add stub implementation of ocr3 capability provider
cedric-cordenier May 8, 2024
eb0b81e
WIP
cedric-cordenier May 8, 2024
b97d060
make integration tests compile
Tofel May 8, 2024
c0adbb6
One more time
cedric-cordenier May 8, 2024
bd751c4
Merge pull request #426 from smartcontractkit/KS-186-AddOCR3Capabilit…
cedric-cordenier May 8, 2024
9cb0a42
pad config digest (#428)
augustbleeds May 14, 2024
e0167c9
BCI-32170: Add propose and accept ownership commands (#429)
augustbleeds May 14, 2024
b66598e
add gas price metrics (#423)
augustbleeds May 16, 2024
8471e36
adds batching mvp
chris-de-leon-cll May 21, 2024
8f8559f
clean up test cases and add tests for transfer_ownership and accept_o…
chris-de-leon-cll May 21, 2024
deedf9a
remove --batch flag
chris-de-leon-cll May 21, 2024
dba75a9
Starknet Chain Client: Add Block Methods (#373)
augustbleeds May 23, 2024
0528b46
Merge pull request #433 from smartcontractkit/gauntlet-batching-mvp
chris-de-leon-cll May 23, 2024
1f16c2b
adds md file to document starknet artifacts usage
chris-de-leon-cll May 24, 2024
89a573c
golangci-lint: enable containedctx
jmank88 May 14, 2024
f330f56
Merge pull request #430 from smartcontractkit/BCF-3203-lint-containedctx
jmank88 May 24, 2024
6e7d994
adding setup guide for gauntlet
chris-de-leon-cll May 24, 2024
61b2a77
Removing sonar from running on merge (#436)
smickovskid May 27, 2024
fec5a0b
Satisfy Relayer interface with unsupported NewContractReader impl. (#…
ilija42 May 27, 2024
a588f56
Merge pull request #435 from smartcontractkit/add-artifacts-documenta…
chris-de-leon-cll May 30, 2024
63990e7
Update packages-ts/starknet-gauntlet/README.md
chris-de-leon-cll May 30, 2024
59792d3
improves batching support by allowing different inputs to each call w…
chris-de-leon-cll May 31, 2024
cd55676
Update buildreport to use gasprice answer (#442)
augustbleeds May 31, 2024
1895e3c
implement starknet_getEvent in chain client with testing
skippaDaBitFlippa May 31, 2024
763ed1c
Merge pull request #437 from smartcontractkit/document-gauntlet
chris-de-leon-cll May 31, 2024
442bf73
add rdd test case
chris-de-leon-cll May 31, 2024
fd89346
Merge pull request #444 from smartcontractkit/BCI-3334-implement-log-…
skippaDaBitFlippa May 31, 2024
12c44f7
initial (#446)
augustbleeds May 31, 2024
b4849fd
clean up
chris-de-leon-cll May 31, 2024
1193f30
Merge pull request #443 from smartcontractkit/rdd-batching
chris-de-leon-cll May 31, 2024
1bf4fb1
wraps devnet hardhat scripts with nix
chris-de-leon-cll Jun 3, 2024
24594b3
use mkDerivation and default.nix instead of flake.nix
chris-de-leon-cll Jun 3, 2024
0a26fe6
Merge pull request #449 from smartcontractkit/nixify-devnet-hardhat-s…
chris-de-leon-cll Jun 3, 2024
cbaea6f
Merge pull request #410 from smartcontractkit/ledger-support
archseer Jun 4, 2024
27df52a
Fix OCR2 deploy command variable casing (#450)
chris-de-leon-cll Jun 4, 2024
c931ed6
build(deps): bump sonarsource/sonarqube-scan-action from 2.0.2 to 2.1…
dependabot[bot] Jun 4, 2024
da863d1
build(deps): bump cachix/install-nix-action from 26 to 27 (#432)
dependabot[bot] Jun 4, 2024
f2f1525
build(deps): bump smartcontractkit/push-gha-metrics-action (#447)
dependabot[bot] Jun 4, 2024
c3e42c4
chore: github action version bumps (#424)
erikburt Jun 4, 2024
68aa9e7
build(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#448)
dependabot[bot] Jun 4, 2024
8a10790
Revert "chore: github action version bumps (#424)" (#451)
archseer Jun 4, 2024
cb9e67e
Bump dawidd6/action-download-artifact
timweri Jun 4, 2024
c5430b5
updates rdd input parsing for set_payees
chris-de-leon-cll Jun 4, 2024
efa0dcb
add additional logging and validation check
chris-de-leon-cll Jun 4, 2024
369600a
Merge pull request #452 from smartcontractkit/update-workflow
timweri Jun 4, 2024
715923f
[TT-1032] Add usage of gotestloghelper and collect test metrics (#427)
tateexon Jun 5, 2024
3ac2471
fix regression with after execute hook that was introduced by rdd bat…
chris-de-leon-cll Jun 5, 2024
2a4fafe
Merge pull request #454 from smartcontractkit/fix/rdd-batching-after-…
chris-de-leon-cll Jun 5, 2024
4f283cc
Merge branch 'develop' into update-set-payees-rdd-input-parsing
chris-de-leon-cll Jun 5, 2024
8eee934
nixify devnet hardhat scripts
chris-de-leon-cll Jun 5, 2024
6929f6f
Merge pull request #453 from smartcontractkit/update-set-payees-rdd-i…
chris-de-leon-cll Jun 5, 2024
0bed449
Merge pull request #455 from smartcontractkit/nixify-devnet-hardhat-s…
chris-de-leon-cll Jun 5, 2024
0c384dc
BCI-3349: Add latest_answer (#457)
augustbleeds Jun 11, 2024
08b20ef
fix ledger wallet creation (#461)
augustbleeds Jun 11, 2024
e125f05
fix multisig inspect and multisig set_signers
chris-de-leon-cll Jun 11, 2024
993bacd
fix test cases
augustbleeds Jun 11, 2024
8b58795
lint
augustbleeds Jun 11, 2024
8aba534
Merge pull request #463 from smartcontractkit/multisig-fixes
chris-de-leon-cll Jun 11, 2024
064cda5
fix monitoring (#462)
augustbleeds Jun 12, 2024
882af22
Update Cairo/Scarb (#464)
augustbleeds Jun 13, 2024
87ff587
build(deps): bump docker/build-push-action from 5.3.0 to 5.4.0 (#459)
dependabot[bot] Jun 13, 2024
1140b47
build(deps): bump smartcontractkit/push-gha-metrics-action (#460)
dependabot[bot] Jun 13, 2024
3ac69e4
build(deps): bump cachix/cachix-action from 14 to 15 (#439)
dependabot[bot] Jun 13, 2024
ce0a0ec
Adding on demand soak (#458)
smickovskid Jun 13, 2024
4663ad2
Adding NewCCIPCommitProvider + NewCCIPExecProvider to relay (#445)
patrickhuie19 Jun 21, 2024
797a7e2
Add capRegistry to NewRelayer (#472)
archseer Jun 25, 2024
b3c7ee8
remove error (#479)
augustbleeds Jul 1, 2024
2dc5980
chore: update action-download-artifact
momentmaker Jul 1, 2024
68c1939
feat: add starknet-devnet-down script as a nix app
willyrgf Jul 4, 2024
836ec7f
fix: e2e test dependencies (#488)
aalu1418 Jul 8, 2024
80beb5d
Add disable check specifically for proxy address (#489)
augustbleeds Jul 8, 2024
7b9fea6
[BCI-3438] Add stub chain writer method onto starknet relayer (#475)
nickcorin Jul 9, 2024
861e6b3
add scripts as package to enable importing from other flake.nix
willyrgf Jul 8, 2024
73090eb
Merge branch 'develop' into add-starknet-devnet-down
willyrgf Jul 11, 2024
679feea
feat: add starknet-devnet scripts as a nix pkg and app
willyrgf Jul 12, 2024
6620d55
fix signature (#491)
augustbleeds Jul 18, 2024
b8745c8
bump ctf
jmank88 Aug 1, 2024
27d7d0f
BCI-3898: fix multisig set config bug (#497)
augustbleeds Aug 1, 2024
60621f2
read pending block not latest (#465)
augustbleeds Aug 1, 2024
53bbc82
Merge pull request #498 from smartcontractkit/ctf-bump
jmank88 Aug 1, 2024
fbf3fa3
bug fix: correct false signal to transmit(#500)
augustbleeds Aug 2, 2024
819409c
Merge branch 'develop' into chore/update-action-download-artifact
momentmaker Aug 2, 2024
9ebcd0d
Merge pull request #483 from smartcontractkit/chore/update-action-dow…
momentmaker Aug 2, 2024
cfb7486
update the cache used for LatestRoundRequested (#503)
augustbleeds Aug 5, 2024
2c94090
use gomods; update generated; add CI check for tidy+generate
jmank88 Aug 6, 2024
c60a9cc
Merge pull request #505 from smartcontractkit/gomods
jmank88 Aug 6, 2024
9668f02
paginate events (#506)
augustbleeds Aug 6, 2024
9d76003
notify guardian if test image build failed
Tofel Aug 8, 2024
ee85404
Merge pull request #507 from smartcontractkit/tt_1429_notify_guardian
Tofel Aug 8, 2024
4ec25da
.golangci.yml: update rules
jmank88 Aug 21, 2024
302a4b5
make nix-flake-update
jmank88 Aug 21, 2024
ef0db26
Update golangci-lint Go dep to 1.22
krebernisak Aug 21, 2024
96f2a9c
Merge pull request #514 from smartcontractkit/golangci-lint-rules
jmank88 Aug 21, 2024
3002cf4
bump go-plugin; rm replace
jmank88 Aug 30, 2024
2bec86e
Merge pull request #518 from smartcontractkit/rm-go-plugin-replace
jmank88 Aug 30, 2024
c52e01b
BCI-4128: Use Starknet-Foundry (#519)
augustbleeds Aug 30, 2024
b1bc2a6
Rename Chain Reader from common to contract reader
ilija42 Sep 10, 2024
ab8cc78
Update core ref
ilija42 Sep 10, 2024
e6f8684
Update common ref
ilija42 Sep 10, 2024
2956aa7
Update core ref
ilija42 Sep 10, 2024
c44bcd7
Merge pull request #520 from smartcontractkit/BCF-3380-rename-CR
ilija42 Sep 10, 2024
f04d2cd
Implement changeset LatestHead
ilija42 Sep 11, 2024
069abd1
Update common ref
ilija42 Sep 11, 2024
cabf20a
Update core ref
ilija42 Sep 11, 2024
c9965d0
upgrade ctf
jmank88 Sep 11, 2024
5bef219
Update common ref
ilija42 Sep 11, 2024
4b7fa79
Testing lint (#523)
smickovskid Sep 11, 2024
a13885a
Removed leftover test comment
smickovskid Sep 11, 2024
3a53e53
Update core ref
ilija42 Sep 11, 2024
15856a0
Update core ref
ilija42 Sep 11, 2024
6ac0dec
Update core ref
ilija42 Sep 11, 2024
0aac303
build image from core ref (#524)
augustbleeds Sep 11, 2024
15f8f9f
Merge branch 'develop' into BCF-3381-expose-latest-heads
ilija42 Sep 11, 2024
362c698
Merge pull request #521 from smartcontractkit/BCF-3381-expose-latest-…
ilija42 Sep 11, 2024
2996d41
use image as an env var in CI
skudasov Sep 11, 2024
9b906b9
Merge branch 'develop' into ctf-lib
skudasov Sep 11, 2024
b4f2a76
update integrations-tests package from core to fit the types
skudasov Sep 12, 2024
941bf98
read chainlink image from env vars
skudasov Sep 12, 2024
94968f4
read chainlink image from env vars
skudasov Sep 12, 2024
864bb44
goimports
skudasov Sep 12, 2024
e7aac35
remove old config override
skudasov Sep 12, 2024
633a2ef
Merge pull request #522 from smartcontractkit/ctf-lib
jmank88 Sep 12, 2024
c541134
bump nix (#526)
augustbleeds Sep 17, 2024
58387ba
ManyChainMultiSig (#517)
augustbleeds Sep 19, 2024
11ec5a2
NONEVM-298: timelock contract (#528)
augustbleeds Oct 1, 2024
0b953a3
change constructor MCM (#536)
augustbleeds Oct 8, 2024
7e34bfd
add context (#345)
jmank88 Oct 11, 2024
3a94f77
integration-tests: upgrade core & ctf (#542)
jmank88 Oct 15, 2024
d713639
pkg/chainlink: add Context to TxManager.Enqueue (#544)
jmank88 Oct 15, 2024
fc3f930
Bump chainlink-common version (#543)
alecgard Oct 17, 2024
77678b0
fix encoding (metadata) (#545)
augustbleeds Oct 17, 2024
b03aa91
fix op struct encoding (#546)
augustbleeds Oct 18, 2024
d3474f5
NONEVM-629: Link Token Changes (#535)
augustbleeds Oct 24, 2024
9c67b0e
add codeowners
augustbleeds Nov 8, 2024
db8cbaa
Merge pull request #549 from smartcontractkit/augustus.codeowners
chris-de-leon-cll Nov 12, 2024
b4435b1
Add Gauntlet++ Op Client and Op Requests into E2E Integration Tests (…
chray-zhang Nov 21, 2024
816561e
Fixing publish workflow with github token (#553)
chray-zhang Nov 21, 2024
6e97618
Initial commit with gpp container starting with permissions from local
chray-zhang Nov 12, 2024
ab5eb62
WIP
chray-zhang Nov 13, 2024
f0f6d37
White space fix
chray-zhang Nov 13, 2024
9ec1901
Changed workflow to use .github run-tests
chray-zhang Nov 21, 2024
db7bf40
bump and input naming
chray-zhang Nov 21, 2024
f78489e
bump smoke test version
chray-zhang Nov 21, 2024
9e0cdfa
fixed config
chray-zhang Nov 21, 2024
3c7e354
bumped version for run-tests
chray-zhang Nov 21, 2024
623c8c6
bump run-tests version
chray-zhang Nov 21, 2024
77211e3
Added correct ARN to assume to pull gpp image
chray-zhang Nov 22, 2024
b1d8567
bump run tests version
chray-zhang Nov 22, 2024
7bba1d0
Adding to soak test
chray-zhang Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
watch_file shell.nix
use flake
12 changes: 10 additions & 2 deletions .github/actions/build-test-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ inputs:
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
GITHUB_TOKEN:
description: GATI Token used to pull private repositories
required: true

runs:
using: composite
Expand All @@ -26,22 +29,27 @@ runs:
uses: ./.github/actions/install-cairo
- name: Check if image exists
id: check-image
uses: smartcontractkit/chainlink-github-actions/docker/image-exists@8489879838862929f43f7d7cd1b33903965cf507 # v2.1.6
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: Setup Go with private repo access
uses: ./.github/actions/setup-github-private-access
with:
gati_token: ${{ inputs.GITHUB_TOKEN }}
- name: Build and Publish Test Runner
if: steps.check-image.outputs.exists == 'false'
uses: smartcontractkit/chainlink-github-actions/docker/build-push@8489879838862929f43f7d7cd1b33903965cf507 # v2.1.6
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"
GITHUB_TOKEN=${{ inputs.GITHUB_TOKEN }}
AWS_REGION: ${{ inputs.QA_AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
- name: Print Image Built
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/install-cairo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: A composite action that installs cairo and scarb binaries
inputs:
cairo_version:
description: Cairo release version
default: "v2.5.4"
default: "v2.6.4"
required: false
scarb_version:
description: Scarb release version
default: "v2.5.4"
default: "v2.6.5"
required: false

runs:
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/install-starknet-foundry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A composite action that installs the snforge and sncast binaries
inputs:
starknet_foundry_version:
description: Starknet Foundry release version
default: "0.18.0"
default: "0.27.0"
required: false

runs:
Expand All @@ -16,4 +16,3 @@ runs:
run: |
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
snfoundryup -v ${{ inputs.starknet_foundry_version }}

16 changes: 16 additions & 0 deletions .github/actions/setup-github-private-access/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Setup GitHub Private Repo Access
description: Uses a GATI Token to be able to pull from private repos

inputs:
gati_token:
description: 'GATI Token used to pull private repos'
required: true

runs:
using: 'composite'
steps:
- name: Setup Go with private repo access
shell: bash
run: |
git config --global url."https://x-access-token:${{ inputs.gati_token }}@github.com/".insteadOf "https://github.com/"
go env -w GOPRIVATE=github.com/smartcontractkit/*
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"
29 changes: 0 additions & 29 deletions .github/workflows/amarna.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
steps:
# Checkout this repository
- name: Checkout Repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
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@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
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@2a025e8ab1cfa4312c2868cb6aa3cd3b473b84bf # v1.3.0
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
id: changesets
with:
publish: nix develop -c yarn release
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable

Expand All @@ -31,15 +31,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@5c11eae19dba042788936d4f1c9685fdd814ac49 # v19
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
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-cairo-contracts
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable

Expand Down
50 changes: 39 additions & 11 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Parse version
Expand All @@ -31,9 +31,9 @@ jobs:
needs: [golangci-lint-version]
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Lint relayer
Expand All @@ -43,20 +43,34 @@ jobs:
run: cat ./relayer/golangci-lint-relayer-report.xml
- name: Store Golangci lint relayer report artifact
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: golangci-lint-relayer-report
path: ./relayer/golangci-lint-relayer-report.xml

golang_lint_ops:
name: Golang Lint Ops
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
needs: [golangci-lint-version]
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@9e7cc0779934cae4a9028b8588c9adb64d8ce68c # [email protected]
with:
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
aws-region: ${{ secrets.QA_AWS_REGION }}
- name: Setup Go with private repo access
uses: ./.github/actions/setup-github-private-access
with:
gati_token: ${{ steps.setup-github-token.outputs.access-token }}
- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Lint ops
Expand All @@ -66,20 +80,34 @@ jobs:
run: cat ./ops/golangci-lint-ops-report.xml
- name: Store Golangci lint ops report artifact
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: golangci-lint-ops-report
path: ./ops/golangci-lint-ops-report.xml

golang_lint_integration_tests:
name: Golang Lint Integration Tests
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
needs: [golangci-lint-version]
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@9e7cc0779934cae4a9028b8588c9adb64d8ce68c # [email protected]
with:
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
aws-region: ${{ secrets.QA_AWS_REGION }}
- name: Setup Go with private repo access
uses: ./.github/actions/setup-github-private-access
with:
gati_token: ${{ steps.setup-github-token.outputs.access-token }}
- name: Install Nix
uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # nix:v2.24.6
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Lint integration-tests
Expand All @@ -89,7 +117,7 @@ jobs:
run: cat ./integration-tests/golangci-lint-integration-tests-report.xml
- name: Store Golangci lint integration tests report artifact
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: golangci-lint-integration-tests-report
path: ./integration-tests/golangci-lint-integration-tests-report.xml
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/integration-tests-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,37 @@ jobs:
steps:
- name: Collect Metrics
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@0281b09807758be1dcc41651e44e62b353808c47 # v2.1.0
uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1
with:
id: starknet-e2e-publish
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Publish Integration Test Image
continue-on-error: true
- name: Checkout the repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@9e7cc0779934cae4a9028b8588c9adb64d8ce68c # [email protected]
with:
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
aws-region: ${{ secrets.QA_AWS_REGION }}
- name: Build Image
uses: ./.github/actions/build-test-image
with:
other_tags: ${{ env.ECR_TAG }}
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
GITHUB_TOKEN: ${{ steps.setup-github-token.outputs.access-token }}
- name: Notify Slack
# Only run this notification for merge to develop failures
if: failure() && github.event_name != 'workflow_dispatch'
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
env:
SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}
with:
channel-id: "#team-test-tooling-internal"
slack-message: ":x: :mild-panic-intensifies: Publish Integration Test Image failed: \n${{ format('https://github.com/{0}/actions/runs/{1}', github.repository, github.run_id) }}\nRepository: Starknet\n${{ format('Notifying <!subteam^{0}|{0}>', secrets.GUARDIAN_SLACK_NOTIFICATION_HANDLE)}}"
Loading