• alvarius's avatar
    op-plasma: add data availability challenge contract (#9356) · 889b59c7
    alvarius authored
    * feat: add op-plasma data availability challenge contract
    
    * fix: usePlasma and remove plasma template
    
    * add DAC to Spec.t.sol
    
    * add DAC to initialize config
    
    * fix tests
    
    * formatting
    
    * add setter for plasma mode
    
    * use alternative approach for enabling plasma mode in tests]
    
    * extend test config output
    
    * regen bindings
    
    * add usePlasma to config.go
    
    * add usePlasma to config.go
    
    * allow enabling plasma in test environment
    
    * initialize data availability challenge contract in constructor
    
    * use proxy in DAC test
    
    * fix spec test
    
    * update bindings
    
    * update type of usePlasma in config.go
    
    * skip DAC in setup.go check for now
    
    * skip DAC in setup.go if UsePlasma is wrong
    
    * forge fmt
    
    * gas snapshot
    
    * add semver lock
    
    * add snapshot
    
    * improve comments
    
    * absolute import
    
    * bound refund percentage
    
    * turn DAC test into a CommonTest
    
    * set semver to 1.0.0
    
    * add versioned commitments
    
    * regenerate bindings
    
    * regenerate snapshots
    
    * update spec
    
    * update gas snapshot
    
    * add DAC to SystemConfig
    
    * update semver
    
    * update gas snapshot
    
    * invariant
    
    * snapshot
    
    * bindings
    
    * reorder deployment to have the DAC address before SystemConfig
    
    * update spec
    
    * move the DAC test to test/L1
    
    * update snapshots
    
    * add precision to the variable resolution cost
    
    * regen artifacts
    
    * semver lock
    
    * bindings
    
    * revert system config changes
    
    * validate commitment length
    
    * rebuild go bindings
    
    * update constants
    
    * remove indexed from commitment event
    
    * semver lock
    
    * add balance changed event to withdraw
    
    * add method to get challenge status
    
    * use basefee instead of gasprice
    
    * use existing dac in test
    
    * add sane default values to deploy config
    
    * pre-pr
    
    * go bindings
    
    * assume challenger and resolver are different entities for balance checks in the resolver test
    
    * add test for validate commitment, move out _getCommitmentType
    
    ---------
    Co-authored-by: default avatartchardin <tdotchardin@gmail.com>
    889b59c7
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
bedrock-devnet Loading commit data...
cannon Loading commit data...
docs Loading commit data...
endpoint-monitor Loading commit data...
indexer Loading commit data...
op-batcher Loading commit data...
op-bindings Loading commit data...
op-bindings-e2e Loading commit data...
op-bootnode Loading commit data...
op-chain-ops Loading commit data...
op-challenger Loading commit data...
op-conductor Loading commit data...
op-dispute-mon Loading commit data...
op-e2e Loading commit data...
op-heartbeat Loading commit data...
op-node Loading commit data...
op-plasma Loading commit data...
op-preimage Loading commit data...
op-program Loading commit data...
op-proposer Loading commit data...
op-service Loading commit data...
op-ufm Loading commit data...
op-wheel Loading commit data...
ops Loading commit data...
ops-bedrock Loading commit data...
packages Loading commit data...
proxyd Loading commit data...
specs Loading commit data...
ufm-test-services Loading commit data...
.coderabbit.yml Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.envrc.example Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
.pnpmfile.cjs Loading commit data...
.prettierrc.js Loading commit data...
.semgrepignore Loading commit data...
.shellcheckrc Loading commit data...
.snyk Loading commit data...
CITATION.cff Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
cloudbuild.yaml Loading commit data...
codecov.yml Loading commit data...
docker-bake.hcl Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
nx.json Loading commit data...
package.json Loading commit data...
pnpm-lock.yaml Loading commit data...
pnpm-workspace.yaml Loading commit data...
tsconfig.json Loading commit data...
versions.json Loading commit data...