-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add zk fault proof contracts #258
Open
redhdx
wants to merge
16
commits into
bnb-chain:develop
Choose a base branch
from
redhdx:zkfp
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4748aa3
Merge pull request #246 from bnb-chain/develop
owen-reorg 9fb3b26
Add zk fault proof contract
lightning-li cac0d72
fix bugs and add test case
lightning-li 5170cf4
change blockInterval variable to blockDistance
lightning-li 3d4ecd3
fix bugs and add test cases
lightning-li ba45f44
improve test cases and fix bug
lightning-li d9c5559
improve test cases
lightning-li 5381334
feature: refine zk contracts
redhdx 619a50d
fix: fix compile issue
redhdx 898be5a
fix: fix compile issue
redhdx 1e585a1
fix: fix distribute bod
redhdx 7b0cd5b
Merge branch 'zkfaultproof' into zkfp
redhdx 1fd89ea
feat: merge new commit and fix ut
redhdx 4b0ab33
feat: add new func and events
redhdx 6596032
fix: fix slither issue
redhdx d57f5fc
fix: fix slither issue
redhdx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"AddressManager": "0x2e234DAe75C793f67A35089C9d99245E1C58470b", | ||
"AnchorStateRegistry": "0x03D97F75CF5cE8986dc4fF531047AF2D52631aBE", | ||
"AnchorStateRegistryProxy": "0x1aF7f588A501EA2B5bB3feeFA744892aA2CF00e6", | ||
"DelayedWETH": "0x7dB36fC81A5197f84BDc88C9B1237A0fca492Cf4", | ||
"DelayedWETHProxy": "0x756e0562323ADcDA4430d6cb456d9151f605290B", | ||
"DisputeGameFactory": "0xc1B724FAe275423BE62006d7711b4435C31a3Fa2", | ||
"DisputeGameFactoryProxy": "0xDB25A7b768311dE128BBDa7B8426c3f9C74f3240", | ||
"L1CrossDomainMessenger": "0x9c0A33f6b1c5d574a6327101c597b0e792a4DC05", | ||
"L1CrossDomainMessengerProxy": "0xD16d567549A2a2a2005aEACf7fB193851603dd70", | ||
"L1ERC721Bridge": "0xF9A2bc3F5DA471245c57da74cfCF6Cdf5fb8040F", | ||
"L1ERC721BridgeProxy": "0x13aa49bAc059d709dd0a18D6bb63290076a702D7", | ||
"L1StandardBridge": "0x7ad421ef511CB1D0060fC90BBccCcf5735632f74", | ||
"L1StandardBridgeProxy": "0x3D7Ebc40AF7092E3F1C81F2e996cbA5Cae2090d7", | ||
"L2OutputOracle": "0x451CEA9b04c58DBC5770c1b1455a67440111b35f", | ||
"L2OutputOracleProxy": "0x3381cD18e2Fb4dB236BF0525938AB6E43Db0440f", | ||
"Mips": "0x71Fb6e45FA9D2396ffc32cd8605141d1af7ab957", | ||
"OptimismMintableERC20Factory": "0x13E136063f4699eBf276c66125f8eA02adaB4F77", | ||
"OptimismMintableERC20FactoryProxy": "0x96d3F6c20EEd2697647F543fE6C08bC2Fbf39758", | ||
"OptimismPortal": "0x1fF359e524EB80A26D1D63D580B223f53120c65B", | ||
"OptimismPortal2": "0x956486516159D5fDfAC9ee63759676A033A5bC88", | ||
"OptimismPortalProxy": "0x212224D2F2d262cd093eE13240ca4873fcCBbA3C", | ||
"PreimageOracle": "0x194C0E304fCA9281698112f40438bcb0D9F82544", | ||
"ProtocolVersions": "0x3cea74C40CB33ae630e130516097cDd0cd06Cb5E", | ||
"ProtocolVersionsProxy": "0x03A6a84cD762D9707A21605b548aaaB891562aAb", | ||
"ProxyAdmin": "0xF62849F9A0B5Bf2913b396098F7c7019b51A820a", | ||
"SafeProxyFactory": "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", | ||
"SafeSingleton": "0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", | ||
"SuperchainConfig": "0x9Fd48Cb6F987Cc0CbEC82A870C51Ec54cA16e599", | ||
"SuperchainConfigProxy": "0xa0Cb889707d426A7A386870A03bc70d1b0697598", | ||
"SystemConfig": "0xcC02cfD0D02e17d2805485f6878aFeE5da00A028", | ||
"SystemConfigProxy": "0x2a07706473244BC757E10F2a9E86fB532828afe3", | ||
"SystemOwnerSafe": "0xf82F7e298c13195A73c702625D49a1BD739cFaaF", | ||
"ZkFaultProofConfig": "0xD384139842Cfff55fB7dC930e782cc09139a1cEe", | ||
"ZkFaultProofConfigProxy": "0xe8dc788818033232EF9772CB2e6622F1Ec8bc840" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule forge-std
updated
27 files
+193 −0 | CONTRIBUTING.md | |
+17 −1 | README.md | |
+1 −1 | package.json | |
+12 −1 | scripts/vm.py | |
+14 −1 | src/StdChains.sol | |
+5 −5 | src/StdCheats.sol | |
+18 −3 | src/StdInvariant.sol | |
+104 −0 | src/StdJson.sol | |
+1 −1 | src/StdStorage.sol | |
+104 −0 | src/StdToml.sol | |
+575 −74 | src/Vm.sol | |
+635 −608 | src/console.sol | |
+1 −1,555 | src/console2.sol | |
+2 −2 | src/interfaces/IERC4626.sol | |
+1 −5 | src/mocks/MockERC721.sol | |
+693 −4 | src/safeconsole.sol | |
+1 −1 | test/StdAssertions.t.sol | |
+21 −15 | test/StdChains.t.sol | |
+10 −10 | test/StdCheats.t.sol | |
+12 −12 | test/StdError.t.sol | |
+1 −1 | test/StdJson.t.sol | |
+4 −14 | test/StdMath.t.sol | |
+13 −5 | test/StdStorage.t.sol | |
+1 −1 | test/StdStyle.t.sol | |
+1 −1 | test/StdToml.t.sol | |
+12 −12 | test/StdUtils.t.sol | |
+9 −6 | test/Vm.t.sol |
Submodule sp1-contracts
added at
25b159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / Slither
Unused return Medium