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

[do not merge] Release 11 vs 12 - just to know how much has changed #11035

Draft
wants to merge 89 commits into
base: release/core-contracts/11
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
6394a6b
Update Dockerfiles (#10915)
jcortejoso Jan 29, 2024
134cdd3
Update workload-id-provider in metadata-crawler-build job (#10916)
jcortejoso Jan 29, 2024
749956e
fix ganache dependency resolution (#10917)
soloseng Jan 30, 2024
7eec983
DoubleSigningSlasher Foundry test (#10839)
soloseng Feb 1, 2024
3786bcd
adding ignore files for docker files and github (#10921)
pputman-clabs Feb 5, 2024
d4a51f7
Pputman/add proper ignore files (#10927)
pputman-clabs Feb 5, 2024
2a5dac5
Deletes SECURITY.md to inherit the default from celo-org/.github (#10…
BenAtClabs Feb 5, 2024
2065f42
Deleted leaderboard chart and references (#10920)
jcortejoso Feb 8, 2024
5c34e34
Added dependency-review workflow (#10938)
jcortejoso Feb 14, 2024
6787997
fix: update USDCUSD config (#10937)
denviljclarke Feb 15, 2024
359d2be
upgrade celo deps from developer tooling repo (#10936)
aaronmgdr Feb 16, 2024
cc8c344
chore(deps): update dependency @types/targz to v1.0.4 (#10898)
renovate[bot] Feb 19, 2024
09c1d09
FeeHandler Foundry Migration (#10896)
alecps Feb 23, 2024
60c299c
Chore: bump oracle image version to 1.0.12 (#10949)
denviljclarke Feb 23, 2024
c04dd49
Implement new loadtest case (#10952)
jcortejoso Mar 4, 2024
4a35759
Election tests migration (#10871)
pahor167 Mar 5, 2024
2e18dde
Soloseng/validator-test-foundry-migration (#10914)
soloseng Mar 5, 2024
9b95a6d
Get pending withdrawals batched (#10956)
pahor167 Mar 11, 2024
198f621
SortedLinkedList Foundry Migration (#10846)
soloseng Mar 11, 2024
4a6c4ba
Foundry Release gold test (#10795)
pahor167 Mar 12, 2024
6e9683f
remove @celo/dev-util package (#10958)
aaronmgdr Mar 22, 2024
0ac4092
Remove deprecated codecov integration (#10954)
lvpeschke Mar 22, 2024
c43354e
chore(deps): update dependency semver to v7.5.2 [security] (#10941)
renovate[bot] Mar 25, 2024
34ff159
chore(deps): update dependency @types/chai-subset to v1.3.5 (#10852)
renovate[bot] Mar 25, 2024
6204605
chore(deps): update bitnami/kubectl docker tag to v1.29.3 (#10959)
renovate[bot] Mar 25, 2024
41a1e14
Tests: Use celo-blockchain release/1.8.0 branch; trigger tests when c…
jcortejoso Apr 10, 2024
80144cc
Reformatting and tests (#10870)
martinvol Apr 18, 2024
c71bada
CR11 merge to master (#10965)
pahor167 Apr 19, 2024
7962dc5
add @celo/dev-utils as dev dependency (#10962)
soloseng Apr 19, 2024
7fae8ec
L2 migration infra check (#10972)
pahor167 Apr 22, 2024
da9b495
function ordering + solhint for 0.8 (#10980)
pahor167 Apr 23, 2024
2d925d7
Switch celo-blochchain test version to 1.8.x branch (again) (#10968)
jcortejoso May 2, 2024
3fec0b2
Removed Unused ODIS Dependency (#10987)
soloseng May 3, 2024
7828cd4
FeeCurrency directory (#10979)
pahor167 May 10, 2024
1f9db02
Shell scripts to calculate smart contract sizes (#10989)
arthurgousset May 10, 2024
a607b2f
Anvil integration (#10875)
martinvol May 10, 2024
894fd26
UsingPrecompiles fix for anvil (#10996)
pahor167 May 15, 2024
43a3146
Implement IOracle to SortedOracles & add FeeCurrencyDirectory to devc…
pahor167 May 16, 2024
a4c608b
L2 Experimental Validators (#10983)
pahor167 May 17, 2024
272dd19
Deprecate double signing slasher (#10998)
pahor167 May 17, 2024
bb2fd67
Deprecate random.sol (#10997)
soloseng May 17, 2024
eded310
Add FeeCurrencyDirectory to Anvil migrations (#10992)
arthurgousset May 20, 2024
f655dff
Downtimeslasher foundry test migration (#10978)
soloseng May 21, 2024
3743965
fix(deps): update dependency compare-versions to v6 (#10902)
renovate[bot] May 21, 2024
b4272fd
Downtime slasher L2 (#11001)
pahor167 May 22, 2024
0931824
chore(deps): update actions/cache action to v4 (#10973)
renovate[bot] May 22, 2024
8ac300e
chore(deps): update nick-fields/retry action to v3 (#10975)
renovate[bot] May 22, 2024
f7047d3
Deprecate `EpochRewards` Contract on L2. (#11004)
soloseng May 22, 2024
98922df
chore(deps): update dawidd6/action-download-artifact action to v3 (#1…
renovate[bot] May 22, 2024
a0f1850
ReleaseGold L2 Compatibility Check (#11005)
soloseng May 24, 2024
86c3ffb
Reduce build time when running foundry migrations (#11003)
arthurgousset May 24, 2024
7a4fddd
Anvil Epoch size precompile update (#11009)
pahor167 May 27, 2024
1644216
Deactivate BlochainParameters Contract on L2 (#11008)
soloseng May 28, 2024
2b8084f
Deprecate GasPriceMinimum for L2 (#11012)
pahor167 May 29, 2024
0e3303d
Publish anvil devchain to artifacts & npm (#11006)
pahor167 Jun 3, 2024
2908c52
Integration tests for Anvil migrations (#11002)
arthurgousset Jun 5, 2024
0f28027
chore: downgrade foundry version to match across workflows (#11017)
arthurgousset Jun 5, 2024
2d53dd0
chore(deps): update celo-org/reusable-workflows action to v2.0.4 (#11…
renovate[bot] Jun 5, 2024
6d6d901
Soloseng/celo-minting-schedule (#10995)
soloseng Jun 5, 2024
e264a90
ABIs publishing: add FeeCurrencyDirectory to the contract list (#11019)
shazarre Jun 6, 2024
95af1c6
wf update (#11021)
pahor167 Jun 6, 2024
1adfa6c
Sync `release/core-contracts/12` with master (#11033)
soloseng Jun 12, 2024
26ddf3c
L2 Staking and Voting (#11034)
soloseng Jun 18, 2024
0f7753e
COP, KES, USDT Oracle config (#10984)
rcroessmann Jun 18, 2024
1d553de
Soloseng/update-celo-L2-distribution-logic (#11045)
soloseng Jun 21, 2024
9f875b9
Celo token totalSupply() update (#11081)
pahor167 Jun 21, 2024
79abd48
Update npm package versioning script to be compatible with other pack…
soloseng Jun 24, 2024
c9174f9
Soloseng/bytecode-tooling-fix (#11092)
soloseng Jun 26, 2024
519ee36
Create a ProxyFactory (#11095)
martinvol Jun 27, 2024
cb652dd
Martinvol/fix interfaces migrations (#11084)
martinvol Jun 28, 2024
149c92b
Update README with Foundry version (#11097)
m-chrzan Jun 28, 2024
e7710e2
Add Support for CeloToken Name in Registry (#11080)
soloseng Jul 1, 2024
3a0a771
Soloseng/revert-celo-total-supply-changes (#11093)
soloseng Jul 2, 2024
7dfd467
refactor: reads supported Foundry version from an environment variabl…
arthurgousset Jul 3, 2024
539463c
Soloseng/publishing-version-fix (#11105)
soloseng Jul 3, 2024
5c401a3
feat(foundry): publish L2 state in `@celo/devchain-anvil` (#11107)
arthurgousset Jul 12, 2024
a775d99
chore: update CeloDistributionSchedule initial balance (#11140)
arthurgousset Jul 15, 2024
98164b1
L2 Governance Hotfix (#11014)
soloseng Jul 16, 2024
562fcf0
Added Check to CeloDistributionSchedule `activate` function (#11109)
soloseng Jul 18, 2024
d464ce5
test: `forge test` should be all green and exclude tests that require…
arthurgousset Jul 19, 2024
97e3f3c
refactor: use constants across `test-sol/` and `migrations_sol/` (#11…
arthurgousset Jul 19, 2024
e6dcb57
test: migrate `FeeHandlerSeller.t.sol` to foundry (#11155)
arthurgousset Jul 23, 2024
0cc2505
test: migrate `UniswapFeeHandlerSeller.t.sol` to foundry (#11171)
arthurgousset Jul 26, 2024
12e89e7
refactor: remove unused code comment in `Proxy.sol` (#11174)
arthurgousset Aug 5, 2024
533ccd1
refactor: uses `L2Migration.s.sol` and simplifies migration script (#…
arthurgousset Aug 9, 2024
264b957
Anvil migrations: use stable symbols (#11193)
shazarre Aug 21, 2024
c5eff1c
L2 devchain fix (#11200)
pahor167 Sep 12, 2024
736fbc2
[DO NOT MERGE] Epoch manager WIP (#11189)
martinvol Sep 25, 2024
aa7b9bb
Fix anvil devchain generation (#11226)
shazarre Sep 25, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ packages/mobile
packages/react-components
packages/notification-service
packages/web

# Ignore generated credentials from google-github-actions/auth
gha-creds-*.json
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ BLOCKSCOUT_DOCKER_IMAGE_TAG="5f546f4e479fc51817fa324149002ce70478389a"
BLOCKSCOUT_DB_SUFFIX=

# Blockscout related cronjobs
LEADERBOARD_DOCKER_IMAGE_REPOSITORY="us.gcr.io/celo-testnet/celo-monorepo"
LEADERBOARD_DOCKER_IMAGE_TAG="leaderboard-2708d6459b6efe2ab3ec04084d9c3819e202699f"

CELOSTATS_SERVER_DOCKER_IMAGE_REPOSITORY="gcr.io/celo-testnet/celostats-server"
CELOSTATS_SERVER_DOCKER_IMAGE_TAG="28b3e8a3a03f3926524ccc5b9cff04d256b5a3a9"
Expand Down
5 changes: 4 additions & 1 deletion .env.alfajores
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CELOSTATS_BANNED_ADDRESSES=""
CELOSTATS_RESERVED_ADDRESSES=""

ORACLE_DOCKER_IMAGE_REPOSITORY="us-west1-docker.pkg.dev/celo-testnet-production/celo-oracle/celo-oracle"
ORACLE_DOCKER_IMAGE_TAG="1.0.7"
ORACLE_DOCKER_IMAGE_TAG="459947a"

AZURE_ORACLE_CENTRALUS_AZURE_SUBSCRIPTION_ID=7a6f5f20-bd43-4267-8c35-a734efca140c
AZURE_ORACLE_CENTRALUS_AZURE_TENANT_ID=7cb7628a-e37c-4afb-8332-2029e418980e
Expand All @@ -40,6 +40,9 @@ AZURE_ORACLE_CENTRALUS_EUROCEUR_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_CELOXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_EURXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_EUROCXOF_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_KESUSD_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_CELOKES_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_USDTUSD_ORACLE_ADDRESSES_FROM_MNEMONIC_COUNT=4
AZURE_ORACLE_CENTRALUS_FULL_NODES_COUNT=2
AZURE_ORACLE_CENTRALUS_FULL_NODES_DISK_SIZE=30
AZURE_ORACLE_CENTRALUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
Expand Down
8 changes: 7 additions & 1 deletion .env.baklava
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CELOCLI_STANDALONE_IMAGE_REPOSITORY="gcr.io/celo-testnet/celocli-standalone"
CELOCLI_STANDALONE_IMAGE_TAG="0.0.30-beta2"

ORACLE_DOCKER_IMAGE_REPOSITORY="us-west1-docker.pkg.dev/celo-testnet-production/celo-oracle/celo-oracle"
ORACLE_DOCKER_IMAGE_TAG="1.0.7"
ORACLE_DOCKER_IMAGE_TAG="459947a"

# ---- Full Node Chain Restore ----

Expand Down Expand Up @@ -68,6 +68,9 @@ AZURE_ORACLE_WESTUS2_EUROCEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x6866e306b32acae7
AZURE_ORACLE_WESTUS2_CELOXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x96eda2cad69c8cd1daeb80da86d24825f45f46b7:baklava-celoxof-oracle2,0x4e9d441fd1c77222395a1853d851fea8a0e3aed8:baklava-celoxof-oracle3
AZURE_ORACLE_WESTUS2_EURXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x7fe5f297dd812ca21e7bf1cbf145a0b59227b35f:baklava-eurxof-oracle2,0x2addc69c2ce3a9d93a8291419319bf7f0a2c6c82:baklava-eurxof-oracle3
AZURE_ORACLE_WESTUS2_EUROCXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x729e058e97c099c79af674bbe2f687171432dd17:baklava-eurocxof-oracle2,0xd226aa9ee80ee282339c1ae69f3f811dbe5d895a:baklava-eurocxof-oracle4
AZURE_ORACLE_WESTUS2_CELOKES_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x84f0d0c9385de3509cdf6eb2fb168e35b0dbad92:baklava-celokes-oracle2,0x2db4d3bf7e744b422812b63b036c401828be7778:baklava-celokes-oracle3
AZURE_ORACLE_WESTUS2_KESUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x94cd5463902630dd22db8ac41242002e6a7a6844:baklava-kesusd-oracle2,0xd3e70b118b674c4db7fde6946b16070bf9ec5ce3:baklava-kesusd-oracle3
AZURE_ORACLE_WESTUS2_USDTUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x9829cf05869f1b9770f4ce9d5653909f1f9e4c5e:baklava-usdtusd-oracle2,0xdfbcbae6de4fb7b72dbad402b975e374441395ea:baklava-usdtusd-oracle3
AZURE_ORACLE_WESTUS2_FULL_NODES_COUNT=2
AZURE_ORACLE_WESTUS2_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTUS2_FULL_NODES_DISK_SIZE=30
Expand All @@ -94,6 +97,9 @@ AZURE_ORACLE_CENTRALUS_EUROCEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x9a0613e8a1ff6c
AZURE_ORACLE_CENTRALUS_CELOXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xd056a29e86161a34692c34f4c95933b59de077dc:baklava-celoxof-oracle0,0x5ad07f89176298ae3a0f3d20d0b4a756307d46e7:baklava-celoxof-oracle1
AZURE_ORACLE_CENTRALUS_EURXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xa4a46db00840e6525ffe79aee5990abaebb7479d:baklava-eurxof-oracle0,0x6e537c9462ed968ff08eab430c5f8c11eab7df1a:baklava-eurxof-oracle1
AZURE_ORACLE_CENTRALUS_EUROCXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x1a637c38671512866317475d19df5f55b0802276:baklava-eurocxof-oracle0,0x8589f0bb307581b96877f9e1a5ce3fcb05127fd0:baklava-eurocxof-oracle1
AZURE_ORACLE_CENTRALUS_CELOKES_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x0468aabc726f2f8d6bc612af99bf994026654a34:baklava-celokes-oracle0,0x8fc0c18b0fc7c11d4af89f0be046ed17dd1fe0f4:baklava-celokes-oracle1
AZURE_ORACLE_CENTRALUS_KESUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xf44345ff4ae8a3e18ae3e7d9c6b3de62736fb01c:baklava-kesusd-oracle0,0xb9410ac25ae1424190f6b4e45dcabd4d32168e5f:baklava-kesusd-oracle1
AZURE_ORACLE_CENTRALUS_USDTUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x2b4b450daecaf5a011497762380cdf1938791f85:baklava-usdtusd-oracle0,0x179282dcbf4c506332b0376cf5bcebd6ca9ec2f3:baklava-usdtusd-oracle1
AZURE_ORACLE_CENTRALUS_FULL_NODES_COUNT=2
AZURE_ORACLE_CENTRALUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_CENTRALUS_FULL_NODES_DISK_SIZE=30
Expand Down
6 changes: 5 additions & 1 deletion .env.rc1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CELOCLI_STANDALONE_IMAGE_TAG="0.0.42"
MOCK_ORACLE_CRON_SCHEDULE="*/5 * * * *"

ORACLE_DOCKER_IMAGE_REPOSITORY="us-west1-docker.pkg.dev/celo-testnet-production/celo-oracle/celo-oracle"
ORACLE_DOCKER_IMAGE_TAG="1.0.6"
ORACLE_DOCKER_IMAGE_TAG="4c63b13"

ORACLE_UNUSED_ORACLE_ADDRESSES=0xB93Fe7906ea4221b3fbe23412D18Ab1B07FE2F71,0x8d25D74E43789079Ef3C6B965c3D22b63A1233aC,0xCD88Cc79342a7cFE78E91FAa173eC87704bDcA9a,0x5091110175318A2A8aF88309D1648c1D84d31B29,0xBBd6e54Af7A5722f42461C6313F37Bd50729F195,0xE23a4c6615669526Ab58E9c37088bee4eD2b2dEE

Expand Down Expand Up @@ -80,6 +80,8 @@ AZURE_ORACLE_WESTUS_EUROCEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x6e7c84f8377856901
AZURE_ORACLE_WESTUS_CELOXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xce696d465dde582095fce8b67e1a31ceb45ad922:mainnet-celoxof-wus0,0xbc211b8dfecdd5784f9c419ce64f7de1377bae88:mainnet-celoxof-wus1,0xc659ab5c049b726c2945a8a44b783ce6afbd2ceb:mainnet-celoxof-wus2,0x9094bf2b2eb028c6fcc56e7d46ea28bb6e03c9a5:mainnet-celoxof-wus3,0xb947c54be882314623ee3d74684d0d785dd50335:mainnet-celoxof-wus4
AZURE_ORACLE_WESTUS_EURXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x6a033b7217fbae843a3ffc9783ef9f87dd3a1c04:mainnet-eurxof-wus0,0x8a164c0523bbd7ec70172807723cca9a948858bb:mainnet-eurxof-wus1,0xd0066f198ed7f8dc3684ff3ac77511ef58a9aed3:mainnet-eurxof-wus2,0x441061f8b1f8ee2722d3608bfa0b5c4c14dee813:mainnet-eurxof-wus3,0x87089ec6adbf3c994ae7c47d3aa7d4fc104d0422:mainnet-eurxof-wus4
AZURE_ORACLE_WESTUS_EUROCXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xc5a86597d514b423579684cdf9f49b6df37e3689:mainnet-eurocxof-wus0,0x8e1423ca0bcb15093f52d1d07675e0aa04e3da75:mainnet-eurocxof-wus1,0xa47e6a8a7db5ee22b5293704a4f0f5f8fdaab06f:mainnet-eurocxof-wus2,0x77d148efdd40202d0eec787073a70c7f6bc9c485:mainnet-eurocxof-wus3,0xfef8748fd3f039fb8cfa77c7744b171f4396659c:mainnet-eurocxof-wus4
AZURE_ORACLE_WESTUS_CELOKES_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x7b50b90144ce27557ed352d499a13f458aef74d0:mainnet-celokes-wus0,0x0eb570af5ab2a9eea97bb413d7dcc12edbf87172:mainnet-celokes-wus1
AZURE_ORACLE_WESTUS_KESUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xf72c29b7047166c6576378d976c44c58fa767bb9:mainnet-kesusd-wus0,0x5bcc4f89b1176f5e68269d232d2c5b274ad1d81e:mainnet-kesusd-wus1
AZURE_ORACLE_WESTUS_FULL_NODES_COUNT=5
AZURE_ORACLE_WESTUS_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTUS_FULL_NODES_DISK_SIZE=100
Expand All @@ -106,6 +108,8 @@ AZURE_ORACLE_WESTEUROPE_EUROCEUR_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xa633c79ac2c68
AZURE_ORACLE_WESTEUROPE_CELOXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0x4d89a0c95de82ae78c42fad4f8d3f87c4495fd37:mainnet-celoxof-weu0,0xa97dbefac6026f93cc5714c4c150b7466e9502ef:mainnet-celoxof-weu1,0x676931c73c8d6b09b0c192baf821e3fd2d693750:mainnet-celoxof-weu2,0xfb8f294c8cd98cf059672c1a6153f85555f10a90:mainnet-celoxof-weu3,0xb7614f7174a07028a5ff5e1adc68a031b646857f:mainnet-celoxof-weu4
AZURE_ORACLE_WESTEUROPE_EURXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xd2c4f59724df51026f857a7e188b322e35256e24:mainnet-eurxof-weu0,0xe47c9867dbb37110834aaaf65b8d760c49c22081:mainnet-eurxof-weu1,0x9cb4896447a8f2611f5fb6f5fc853ffa16a1d864:mainnet-eurxof-weu2,0x0f9786b083c8c22e2e839286230098048a20a0ec:mainnet-eurxof-weu3,0xe01890c7760445908128f0e64e1170866566e1f6:mainnet-eurxof-weu4
AZURE_ORACLE_WESTEUROPE_EUROCXOF_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xdda1d71f3d5a6090bc04b77a18925fab7054d9c3:mainnet-eurocxof-weu0,0xee1d05f81e90b8ece440de6141282404e83830ce:mainnet-eurocxof-weu1,0xff6e35c6119742fd1eb3db780d976c4e55585108:mainnet-eurocxof-weu2,0x59eac333453279e71a3a98b4b72bdfa99ca51ad3:mainnet-eurocxof-weu3,0x378b95092bed2acb0d3ae6ab9c045eef1c250872:mainnet-eurocxof-weu4
AZURE_ORACLE_WESTEUROPE_CELOKES_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xcfba5ea29501d26fc3e6e0851bb13375ea0401ef:mainnet-celokes-weu0,0xe0a634c4aac4494930ba50f59b751a5ddabe4679:mainnet-celokes-weu1,0xe000bce6c6f87ac39f3c4f4b5daa38dd32433217:mainnet-celokes-weu2
AZURE_ORACLE_WESTEUROPE_KESUSD_ORACLE_ADDRESS_AZURE_KEY_VAULTS=0xeab3df01269abd314465148e0c075d49fbd4b59b:mainnet-kesusd-weu0,0x28cd8a609560fb1ff1011387e4c40deabef029c0:mainnet-kesusd-weu1,0xf6d2d7ec798ae1b80046594345805298e0ac1624:mainnet-kesusd-weu2
AZURE_ORACLE_WESTEUROPE_FULL_NODES_COUNT=5
AZURE_ORACLE_WESTEUROPE_FULL_NODES_ROLLING_UPDATE_PARTITION=0
AZURE_ORACLE_WESTEUROPE_FULL_NODES_DISK_SIZE=100
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ module.exports = {
},
],
'import/no-internal-modules': 'off',
indent: 'off',
indent: ['off', 2],
'linebreak-style': 'off',
'max-classes-per-file': ['error', 1],
'max-len': 'off',
Expand Down
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
/dockerfiles/ @celo-org/devopsre

/packages/celotool/ @celo-org/devopsre
/packages/dev-utils/ @celo-org/devtooling
/packages/env-tests/ @celo-org/primitives
/packages/helm-charts/ @celo-org/devopsre
/packages/helm-charts/mock-oracle/ @celo-org/mento @celo-org/devopsre
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/sync-workspace/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache_node
env:
REBUILD_PACKAGE: ${{ inputs.rebuild-package }}
Expand All @@ -23,7 +23,7 @@ runs:
enableCrossOsArchive: true
fail-on-cache-miss: "!${{ fromJSON(env.REBUILD_PACKAGE) }}"
- name: Restore build artifacts cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache_build_artifacts
env:
REBUILD_PACKAGE: ${{ inputs.rebuild-package }}
Expand Down
64 changes: 19 additions & 45 deletions .github/workflows/celo-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@ on:
push:
branches:
- master
- 'release/**'
- 'feat/l2-epoch-system'
- 'martinvol/**'
- 'pahor167/**'
- 'soloseng/**'
pull_request:
branches:
- master
- 'release/**'
- 'feat/l2-epoch-system'
- 'martinvol/**'
- 'pahor167/**'
- 'soloseng/**'

concurrency:
group: celo-monorepo-${{ github.ref }}
Expand All @@ -23,15 +32,14 @@ defaults:

env:
# Increment these to force cache rebuilding
NODE_MODULE_CACHE_VERSION: 5
NODE_MODULE_CACHE_VERSION: 8
NODE_OPTIONS: '--max-old-space-size=4096'
TERM: dumb
GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.configureondemand=true -Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError"'
# Git Tag for contract release to use
#RELEASE_TAG: ganache-v7-core-contracts.v9
RELEASE_TAG: core-contracts.v10
RELEASE_TAG: core-contracts.v11
# CELO_BLOCKCHAIN_BRANCH_TO_TEST: master
CELO_BLOCKCHAIN_BRANCH_TO_TEST: release/1.7.x
CELO_BLOCKCHAIN_BRANCH_TO_TEST: release/1.8.x

# EXAMPLE on debug ssh step
# - name: Setup tmate session
Expand All @@ -57,7 +65,7 @@ jobs:
with:
submodules: recursive
- name: Restore node cache
uses: actions/cache@v3
uses: actions/cache@v4
id: cache_node
with:
# We need to cache all the artifacts generated by yarn install+build
Expand All @@ -69,7 +77,7 @@ jobs:
restore-keys: |
node-${{ runner.os }}-${{ runner.arch }}-${{ env.NODE_MODULE_CACHE_VERSION }}-
- name: Install yarn dependencies
run: git config --global url."https://".insteadOf ssh:// && yarn install --frozen-lockfile --network-timeout 1000000
run: git config --global url."https://".insteadOf ssh:// && yarn generate-lock-entry && yarn install --frozen-lockfile --network-timeout 1000000
if: steps.cache_node.outputs.cache-hit != 'true'
- name: Run yarn postinstall if cache hitted
run: yarn run postinstall
Expand Down Expand Up @@ -116,7 +124,7 @@ jobs:
# We use cache to share the build artifacts between jobs (gh artifacts are too slow...)
# For more context check https://github.com/actions/upload-artifact/issues/199
- name: Restore build artifacts cache
uses: actions/cache@v3
uses: actions/cache@v4
id: cache_build_artifacts
with:
# We need to cache all the artifacts generated by yarn install+build
Expand Down Expand Up @@ -151,33 +159,6 @@ jobs:
artifacts_to_cache: ${{ needs.install-dependencies.outputs.artifacts_to_cache }}
- run: yarn run prettify:diff
- run: yarn run lint
general_test:
name: General jest test
runs-on: ['self-hosted', 'monorepo-node18']
needs: install-dependencies
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Sync workspace
uses: ./.github/actions/sync-workspace
with:
artifacts_to_cache: ${{ needs.install-dependencies.outputs.artifacts_to_cache }}
- name: Run Jest Tests
run: |
mkdir -p test-results/jest
# Skipping packages that are tested in a specific job below
yarn run lerna \
--ignore @celo/protocol \
--ignore @celo/celotool \
--ignore @celo/env-tests \
run test
- name: Upload Jest Test Results
uses: actions/upload-artifact@v4
with:
name: Jest Test Results
path: test-results/jest


protocol-test-release:
name: Protocol Test Release
Expand All @@ -200,7 +181,7 @@ jobs:
with:
artifacts_to_cache: ${{ needs.install-dependencies.outputs.artifacts_to_cache }}
- name: Download protocol devchain artifact
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
workflow: protocol-devchain.yml
name: devchain-${{ env.RELEASE_TAG }}
Expand All @@ -222,7 +203,7 @@ jobs:
timeout-minutes: 60
needs: [install-dependencies, lint-checks]
if: |
github.base_ref == 'master' || contains(github.base_ref, 'staging') || contains(github.base_ref, 'production') ||
github.base_ref == 'master' || contains(github.base_ref, 'release') || contains(github.base_ref, 'staging') || contains(github.base_ref, 'production') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/protocol') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/typescript') ||
contains(needs.install-dependencies.outputs.all_modified_files, ',package.json') ||
Expand All @@ -247,12 +228,6 @@ jobs:
- name: Protocol Compatibility
command: |
yarn --cwd packages/protocol test compatibility/
- name: Protocol Governance Validators
command: |
yarn --cwd packages/protocol test governance/validators/
- name: Protocol Governance Voting
command: |
yarn --cwd packages/protocol test governance/voting/
- name: Protocol scripts test
command: |
yarn --cwd packages/protocol test:scripts
Expand All @@ -266,7 +241,7 @@ jobs:
rebuild-package: 'true'
artifacts_to_cache: ${{ needs.install-dependencies.outputs.artifacts_to_cache }}
- name: Execute matrix command for test
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 40
max_attempts: 3
Expand All @@ -283,7 +258,6 @@ jobs:
github.base_ref == 'master' || contains(github.base_ref, 'release') || contains(github.base_ref, 'production') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/celotool') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/protocol') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/dev-utils') ||
contains(needs.install-dependencies.outputs.all_modified_files, 'packages/typescript') ||
contains(needs.install-dependencies.outputs.all_modified_files, ',package.json') ||
contains(needs.install-dependencies.outputs.all_modified_files, ',yarn.lock') ||
Expand Down Expand Up @@ -352,7 +326,7 @@ jobs:
with:
artifacts_to_cache: ${{ needs.install-dependencies.outputs.artifacts_to_cache }}
- name: Execute matrix command for test
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
Expand Down
Loading
Loading