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 - v1.9.3 vs celo10 #287

Closed
wants to merge 147 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
3281d03
Simplify CI
palango Aug 17, 2023
e377366
dependabot: no PRs for version updates
karlb Sep 13, 2023
2645f00
adding trivy scanning to the Docker files (#41)
pputman-clabs Sep 12, 2023
a9d3622
Update op-geth
karlb Feb 7, 2024
e7a5994
Add fee currency parameter to IntrinsicGas
karlb Feb 5, 2024
b100563
Add forkdiff comparison to optimism (#32)
Aug 22, 2023
52a02ef
Add Celo contracts
pahor167 Aug 29, 2023
8a9d20b
Enable cel2 fork by default
karlb Sep 19, 2023
18fdc5e
Use celo-org/op-geth container for devnet
karlb Sep 19, 2023
9c250c7
Enable Cel2 in e2e tests
karlb Feb 13, 2024
529170a
Add token duality e2e test
karlb Sep 27, 2023
73fed00
Run new e2e tests as part of devnet CI job
karlb Sep 27, 2023
a55118c
Add cel2 testnet setup code
karlb Aug 29, 2023
234c7aa
Skip shellcheck for now
palango May 16, 2024
32e2277
Add license identifier to ISortedOracles
palango May 17, 2024
ebd8210
Add celo deployment to L2Genesis
palango May 15, 2024
d376d7b
Disable SortedOracles in Genesis
karlb May 28, 2024
a60843d
Add more powerful MockSortedOracles
karlb Apr 3, 2024
c0fa138
Add fee currency functions to MintableERC20
karlb Apr 22, 2024
4d8a7fb
Update soldity pragma for interfaces
karlb Apr 22, 2024
e951ae9
Add Fee Currency directory
pahor167 May 21, 2024
8a927ba
address update + sorted oracles update
pahor167 May 22, 2024
7b37efe
register cUSD to FeeDirectory
pahor167 May 22, 2024
35989a1
Disable cUSD in L2 genesis for now
karlb May 28, 2024
3088bde
Fix Genesis contract count test
karlb May 28, 2024
ea8392d
GH Action to deploy op-contracts to Holesky
alvarof2 May 16, 2024
94feda4
Fixes
alvarof2 May 16, 2024
42a732e
Executable
alvarof2 May 16, 2024
e9e2b3b
Branch to commit
alvarof2 May 16, 2024
bf5c303
GH Action to deploy celo4 contracts
alvarof2 May 17, 2024
5a09579
--legacy for celo4 GH Action
alvarof2 May 17, 2024
59454a5
envsubst for op-ufm
alvarof2 May 20, 2024
cc6a74f
op-ufm GH Action
alvarof2 May 20, 2024
d729ab8
Add feature flag for celo contract deployment
palango Jun 5, 2024
dc5cc04
Add `celo-migrate` tool for state migration
palango Aug 2, 2023
8374335
Remove config options for DB options
palango Jun 11, 2024
b0b0ae3
Change config script to pass verification on deploy (#150)
rkachowski Jun 14, 2024
a1c15d3
IOracle to MockSortedOracles
pahor167 Jun 18, 2024
2abca7f
Remove cel2-testnet directory (#156)
karlb Jun 19, 2024
8aaaa0e
Included some extra customization to config.sh file
jcortejoso Jun 13, 2024
60c9067
Update config-vars-celo.sh
jcortejoso Jun 21, 2024
fe6aa6b
Exposed DEPLOY_CELO_CONTRACTS in envrc
jcortejoso Jun 24, 2024
45c6432
Deploy Celo contracts on devnet
karlb Jun 24, 2024
3ac0c77
Update op-geth for devnet
karlb Jun 24, 2024
dca9cb5
Set devAccount[0] as owner of FeeCurrencyDirectory
karlb Jun 24, 2024
de85533
Combine Cel2 migration scripts (#148)
alecps Jun 25, 2024
0afa620
Set balance of `CeloDistributionSchedule` contract (#162)
palango Jun 26, 2024
238dcb2
state-migration: Set ParentBeaconRoot (#176)
palango Jun 26, 2024
352179d
Update op-geth (both go.mod and devnet container)
karlb Jun 26, 2024
adc732b
state-migration: Set address of distribution schedule (#177)
palango Jun 26, 2024
f8fdb6e
Add e2e test for bridging WETH to L2
karlb Jun 25, 2024
8124cd5
Log out l2 predeploy addresses.
rkachowski Jun 27, 2024
079bd48
Log config location.
rkachowski Jun 27, 2024
8a66424
Add map script.
rkachowski Jun 27, 2024
e9bab6b
state-migration: Read total supply directly from state (#182)
palango Jun 28, 2024
caa858e
Fix l2 block older than l1 origin error (#184) (#187)
alecps Jun 28, 2024
8f8e7bf
Update plasma-eigenda config
jcortejoso Jun 26, 2024
1212f11
Trigger workflow changes
jcortejoso Jun 27, 2024
b2f7968
File trigger updated
jcortejoso Jun 27, 2024
ffdc168
Update docker-build-scan.yaml
jcortejoso Jun 28, 2024
09a535f
Migration script fixes (#179)
piersy Jul 1, 2024
d018ab3
Fix shellcheck.
rkachowski Jul 10, 2024
5b91ed0
Fix migration script gap in migrated blocks (#189)
piersy Jul 3, 2024
7cdc174
Use name AbstractFeeCurrency to avoid confusion
karlb Jul 1, 2024
b91a706
ci: Add shellcheck job (#191)
palango Jul 9, 2024
0abf077
OptimismPortal set initial balance through StorageSetter pattern (#250)
ezdac Jun 10, 2024
96ea385
Rename NativeToken to CeloTokenL1
ezdac Jun 20, 2024
be0da39
Use ERC1967 proxy and init from Safe
ezdac Jun 20, 2024
72d011d
Fix deployCeloContracts config not set for celo devnet
ezdac Jun 24, 2024
5f65de8
Add CeloTokenL1 chain assertions
ezdac Jun 26, 2024
a39d997
Fix deploy script for when useCustomGasToken=false
ezdac Jun 26, 2024
6bdc5fa
Deploy multicall contract on devnet L1
ezdac Jun 13, 2024
3b6d142
Add viem E2E testsuite
ezdac Jun 10, 2024
8c0c46d
Fix l1-deployments check
ezdac Jun 27, 2024
765b179
Remove deploy-config check for CustomGasToken
ezdac Jul 4, 2024
ba9c2fd
Include CustomGasToken config in getting-started
ezdac Jul 4, 2024
110007d
Use L2OutputOracle in celo e2e tests
ezdac Jul 4, 2024
21f695c
Update plasma config
jcortejoso Jul 4, 2024
76b16ea
Trigger container building in all commits (temporary)
jcortejoso Jul 4, 2024
7cd8680
Add docker-build job to CircleCI
ezdac Jul 17, 2024
4486f29
Add celo devnet-allocs CI test
ezdac Jul 3, 2024
3a6aa15
Run Celo E2E test in CircleCI
ezdac Jul 17, 2024
499b4be
Update node packages for e2e test
ezdac Jul 17, 2024
fe7b458
Add node dependency caching
ezdac Jul 17, 2024
ea6c7d3
Add pre-migration command to migration script (#192)
alecps Jul 30, 2024
395590d
state-migration: Fail if account would be overwritten (#202)
palango Aug 1, 2024
ee437a2
Cosmetic changes to the migration script
lvpeschke Jul 31, 2024
16044f0
migration: Remove remaining todos (#211)
palango Aug 13, 2024
92a8653
Use RPC URLs from env in JS tests
karlb Aug 19, 2024
f360138
migration: Add tests (#217)
palango Aug 22, 2024
b186ed3
migration: Add working allowlist for Alfajores (#220)
palango Aug 23, 2024
c666976
Create funding.json
marekolszewski Sep 5, 2024
4071a14
Adapt migration code to changes in StateDB
palango Sep 11, 2024
9bce3f2
Remove state op-hearbeat builds
palango Sep 12, 2024
d933552
Temporarily skip tests after rebase
karlb Sep 13, 2024
780b3b5
migration: Set fields correctly for migration block (#212)
palango Sep 17, 2024
51d2354
build: Fix outdated dockerfile (#224)
palango Sep 17, 2024
fa62428
migration: Enable Granite (#226)
palango Sep 17, 2024
8407879
Update deployment scripts
jcortejoso Sep 11, 2024
a8b9cfc
Write genesis file in state migration (#219)
alecps Sep 18, 2024
1089a27
Increase MaxFrameLen to 16 MB
jcortejoso Sep 17, 2024
215b209
op-node: Add option to only use finalized blocks as l1origin in seque…
palango Sep 23, 2024
a04c658
migration: Overwrite create2deployer code (#233)
palango Sep 23, 2024
f5a61be
Update base comit in fork.yml
palango Sep 24, 2024
d405ea1
Simplify CI
palango Sep 24, 2024
01d2e30
contracts: Update allowed interface list with Celo interfaces
palango Sep 24, 2024
cad4367
migration: Allow 'createx' preinstall (#238)
palango Sep 24, 2024
7cc4a76
Base Fee Floor (fixed) configuration (#231)
gastonponti Sep 24, 2024
790d829
Update eip1558 config in template
jcortejoso Sep 23, 2024
b8dffe6
Use a new batcher deposer address
jcortejoso Sep 23, 2024
1a6fbaa
migration: Fix baseFee calculation (#240)
palango Sep 25, 2024
1b3fcfc
migration: Update to UnreleasedTreasury contract (#236)
palango Sep 25, 2024
7c5eb37
migration: Add granite to celo config (#241)
palango Sep 30, 2024
adc9124
add migration-block-number flag (#245)
alecps Oct 3, 2024
00a87f8
Fixes for re-running migration script on same destination db (#246)
alecps Oct 3, 2024
c837700
migration: Make migration-block-time a required flag (#242)
palango Oct 7, 2024
cae92de
sequencer: Use higher sequencer drift for Celo (#251)
karlb Oct 7, 2024
9635e44
Skip fee tests for now
karlb Oct 14, 2024
d19cbd7
Skip Celo contracts in test_cannotReinitialize_succeeds
karlb Oct 14, 2024
21893f1
Skip interop tests for now
karlb Oct 14, 2024
3f45a81
op-chain-ops: Use noop for unimplemented writeJson
karlb Oct 15, 2024
36f7863
contracts: versioning for Celo modified contracts
karlb Oct 14, 2024
cd58b2a
Update semver-lock
karlb Oct 14, 2024
0d86137
Update snapshots
karlb Oct 14, 2024
612e518
Build op-conductor
alvarof2 Oct 14, 2024
50977c3
OptimismPortal2 set initial `_balance` through StorageSetter pattern …
ezdac Oct 14, 2024
7c8d8f8
Use FeeHandler in fee tests
karlb Oct 22, 2024
7fd94b0
Reenable TestMixedWithdrawalValidity
karlb Oct 22, 2024
1b60358
Reenable interop tests
karlb Oct 22, 2024
b9db909
Delete bad blocks during migration (#267)
piersy Oct 28, 2024
dc5b20a
Build op-challenger and op-dispute-mon on CI
jcortejoso Nov 5, 2024
b41faa9
Merge pull request #268 from celo-org/jcotejoso/faultproofs-docker-ci
jcortejoso Nov 22, 2024
e22a55c
forkdiff: use celo10-upstream branch as base
karlb Nov 27, 2024
81fde1a
forkdiff: Allow manually triggering GH action
karlb Nov 27, 2024
8e63572
Add CLI config validation of op-batcher to prevent submitting Blobs t…
Kourin1996 Nov 27, 2024
ec9048f
Update op-geth
palango Nov 25, 2024
c9eb392
Update migration config for baklava
palango Nov 25, 2024
9070301
Fix build
palango Nov 26, 2024
6cbfedf
Add CLI config validation of op-batcher to prevent 'auto' data type a…
Kourin1996 Nov 29, 2024
5682b80
Merge pull request #274 from celo-org/Kourin1996/fix-da-type-config-v…
Kourin1996 Nov 29, 2024
4bd372a
e2e: use `--broadcast` with `forge create` (#281)
karlb Dec 9, 2024
fd44a81
Resolve fuzzing test failures for AddressSortedLinkedListWithMedian (…
Kourin1996 Dec 9, 2024
5374bb9
[Automatic] - Update op-geth dependencies (#284)
github-actions[bot] Dec 10, 2024
57616ab
Add `celo-org/op-geth` dependencies update script and gh-action (#263)
ezdac Dec 17, 2024
525657e
L2Genesis: Remove unused code (#276)
palango Dec 17, 2024
2fedcc0
[Audit - TOB-CELOL2-3] Add error checks to migration script (#283)
alecps Dec 17, 2024
bd354a2
Fix fee-currency-directory predeploy address (#285)
ezdac Dec 20, 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
Prev Previous commit
Next Next commit
Resolve fuzzing test failures for AddressSortedLinkedListWithMedian (#…
…277)

* Ignore AddressSortedLinkedList and AddressSortedLinkedListWithMedian as targets in fuzzing test of SafeCall_Test

* Format test/libraries/SafeCall.t.sol
  • Loading branch information
Kourin1996 authored Dec 9, 2024
commit fd44a81b25d44626188c86200985f76cb6a25449
7 changes: 6 additions & 1 deletion packages/contracts-bedrock/test/libraries/SafeCall.t.sol
Original file line number Diff line number Diff line change
@@ -4,6 +4,8 @@ pragma solidity 0.8.15;
// Testing utilities
import { Test } from "forge-std/Test.sol";
import { StdCheatsSafe } from "forge-std/StdCheats.sol";
import { AddressSortedLinkedList } from "src/celo/common/linkedlists/AddressSortedLinkedList.sol";
import { AddressSortedLinkedListWithMedian } from "src/celo/common/linkedlists/AddressSortedLinkedListWithMedian.sol";

// Target contract
import { SafeCall } from "src/libraries/SafeCall.sol";
@@ -14,7 +16,10 @@ contract SafeCall_Test is Test {
vm.assume(_addr.balance == 0);
vm.assume(_addr != address(this));
vm.assume(uint256(uint160(_addr)) > uint256(256)); // TODO temp fix until new forge-std release with modern
// precompiles: https://github.com/foundry-rs/forge-std/pull/594
// ignore address of library contract whose functions have 'public' or 'external' visibilities
vm.assume(_addr != address(AddressSortedLinkedList));
vm.assume(_addr != address(AddressSortedLinkedListWithMedian));
// precompiles: https://github.com/foundry-rs/forge-std/pull/594
assumeAddressIsNot(_addr, StdCheatsSafe.AddressType.ForgeAddress, StdCheatsSafe.AddressType.Precompile);
}

Loading