- 24 Aug, 2022 1 commit
-
-
Mark Tyneway authored
* contracts-bedrock: updated L2 config checker Checks that the predeploys were configured correctly * op-chain-ops: adds in OptimismMintableERC20Factory Was previously skipped since it lives in the `universal` directory and not the `L2` directory. * op-node: new command * ci: update to work with op-node for genesis creation * ops-bedrock: use op-node for L2 genesis generation * op-node: clean up devnet-l2 command
-
- 23 Aug, 2022 14 commits
-
-
norswap authored
* many clarification and corrections to stage descriptions * knock some TODOs + review execution engine interaction during derivation * spec that we drop sequencer transactions if there is a payload error * lint Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Helps with caching to use the same docker image across jobs. This updates jobs on an older ubuntu docker image to the latest ubuntu docker image provided by circleci. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
ops-bedrock: use the latest geth release for L1
-
Mark Tyneway authored
-
Mark Tyneway authored
contracts-bedrock: remove extra console.log
-
Mark Tyneway authored
Was forgotten because it lives in the `universal` directory and not the `L2` directory
-
Mark Tyneway authored
-
Diederik Loerakker authored
* op-node: split l1 source into eth and l1 client * op-node: fix comment typo Co-authored-by:
Javed Khan <javed@optimism.io> * op-node: implement l1 rpc review suggestions Co-authored-by:
Javed Khan <javed@optimism.io> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Adds some nice new tracers and is more close to what we would see on mainnet
-
Mark Tyneway authored
* contracts-bedrock: always fund dev accounts Reduces config complexity * op-chain-ops: clean up genesis package Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Diederik Loerakker authored
* op-node: remove parallel batch fetching, introduce iterative batch fetching and receipts fetcher * op-node: fix receipts fetching cache issue - reset fetcher when encountering error in final results * receipts fetching improvement * op-node: verify receipts with pure function, generalize batch fetching code more
-
Matthew Slipper authored
Adds a Python script that generates replica configurations for networks deployed using `bedrock-regentool`. Usage instructions are in `ops-bedrock/tools/README.md`.
-
Mark Tyneway authored
* contracts-bedrock: parallel deployment fix Uses local nonce management for sending configuration transactions. This will make the parallel deployments more reliable. * contracts-bedrock: harden for live network deployments
-
Diederik Loerakker authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 22 Aug, 2022 8 commits
-
-
Mark Tyneway authored
fix: proxy admin deploy script
-
Mark Tyneway authored
-
Mark Tyneway authored
Reduce the amount of config by removing the concept of proxy admin address because we should be using the address of the deployed proxy admin contract.
-
Mark Tyneway authored
op-chain-ops: rename from state-surgery
-
Javed Khan authored
-
Mark Tyneway authored
-
Matthew Slipper authored
* ci: Add hive l1ops suite This suite tests deposits and withdrawals. * Update .circleci/config.yml Co-authored-by:
Diederik Loerakker <proto@protolambda.com> Co-authored-by:
Diederik Loerakker <proto@protolambda.com>
-
norswap authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 21 Aug, 2022 3 commits
-
-
Matthew Slipper authored
This PR upgrades Bedrock dependencies v0.5.0. Hive needs this in order to perform withdrawals properly since v0.4.0 does not include the change to index withdrawals by block number. It also adds a Makefile command to generate future Bedrock version tags and push them. Note the GOPRIVATE change in `mod-tidy` - I needed to add this to circumvent the Go version proxy since it's slow to index new versions.
-
Diederik Loerakker authored
Co-authored-by:
Matthew Slipper <me@matthewslipper.com>
-
Joshua Gutow authored
* op-node: Cleanup channel definition This moves some files around and then expands upon the Channel struct. It is better built for adding frames + then reading data when it is ready. Some tests are still failing and I don't know why. * ReadBatch in channel.go * op-node: Fix channel.go + start of new interface * fix lint * op-node: Use simple channel decoding * revert switch to reader This was due to the difficulty in making the mocks work with the reader. * fix lint * fix bug around trying to use an empty chanel Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 20 Aug, 2022 5 commits
-
-
Matthew Slipper authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* state-surgery: layer 2 genesis block generation Generate the L2 or L1 genesis block given a hardhat and a deploy config. * state-surgery: some comments * state-surgery: delete dead comment
-
Joshua Gutow authored
* op-node: Rename channel_frame.go -> fame.go * op-node: New ParseFrames function + fuzzers * op-node: Use new ParseFrames function * fix test to new behavior * small fixes * fix lint * small fixes * fix nits * fix nits * fix logging format Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
This helps improve performance.
-
Matthew Slipper authored
Adds per-commit dev builds that get uploaded to our GCR repository. This enables running hive on a per-PR basis.
-
- 19 Aug, 2022 9 commits
-
-
Matthew Slipper authored
The op-geth repo has already been created as a fork of reference-optimistic-geth. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
state-surgery: fix string slice
-
Mark Tyneway authored
state-surgery: fix naming
-
Mark Tyneway authored
The `initialize()` function in the L2CrossDomainMessenger sets some blocked system addresses. It was using `address(this)` but in reality the contract is a predeploy at a specific address. It should not be deployed, the `initialize` function will never run. For the unit tests, the contracts are placed at their correct addresses. This makes the testing environment as close as possible to what is experienced on a live network. This PR hardcodes in the L2 cross domain messenger constant from the predeploys library instead of using `address(this)`. In practice this value is set using the chain ops tooling, so this makes it more clear as to what the value should be. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Do not overwrite accounts that already exist when creating accounts with the memory db. Also panic if trying to set state in an account that doesn't yet exist in the state. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Someplace in foundry it seems to not populate the key value correctly in the compiler storage layout type. Unclear why its not always populated, it is in some cases but not all. It could be anywhere between solc, foundry and the foundry hardhat plugin. The information is still there, it just needs to be parsed from a different field. This PR uses a regex to parse the value to pull it out. It recursively calls itself and we can be sure that it will not infinitely recurse because a non empty string is passed in the second time. With this PR, I am able to successfully build the L2 genesis state. bugfix fix Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Matthew Slipper authored
-
Joshua Gutow authored
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Mark Tyneway authored
Fix some naming so that it reads better
-