-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(devnet): makes nonL1 conts start #6
base: rsk/poc-v0
Are you sure you want to change the base?
Conversation
4b113ef
to
82bbd0f
Compare
0961f6f
to
71e61c5
Compare
fe23ae8
to
83d2402
Compare
2a47d8a
to
c57afb0
Compare
d6cdfec
to
2bae691
Compare
ee43ddb
to
e6c8d6c
Compare
a77f057
to
f41833f
Compare
71be2ac
to
e9311ae
Compare
e9311ae
to
6107a17
Compare
@@ -22,7 +18,7 @@ def update_mod(project): | |||
'mod', | |||
'edit', | |||
'-replace', | |||
f'github.com/ethereum/go-ethereum@{GETH_VERSION}=github.com/ethereum-optimism/op-geth@optimism' | |||
f'github.com/ethereum/go-ethereum=github.com/rsksmart/op-geth@11a70c76751354d7e82def14a56f89f08e59d7b7' # represents tip of github.com/rsksmart/op-geth#rsk/poc-v0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we use the commit while in other parts we just use the branch. Let's use the same approach if possible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's just the thing. it's not possible to use the branch here and that is why we use the commit (see PR description). Although, according to this doc it should be possible. However, when we try it it gives us:
go.mod:216: replace github.com/rsksmart/op-geth: version "rsk/poc-v0" invalid: version "rsk/poc-v0" invalid: disallowed version string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having said that, I can create a tag and we set it to that?
@@ -4,6 +4,7 @@ pragma solidity ^0.8.0; | |||
/// @notice Chain IDs for the various networks. | |||
library Chains { | |||
uint256 internal constant RootstockRegtest = 33; | |||
uint256 internal constant OPRootstockRegtest = 42069; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity: is this an arbitrary number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know where it came from. I copied it from somewhere, I think Francisco used it first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows developers and CI to run the system with built-in devnet process.
Removes the generated regtest deployments and deploy-config as the devnet process creates the config from a template and the deployment files are not needed to run devnet.
The devnet python script has been heavily modified to accommodate for the differences between rsk and ethereum genesis and block dump.
In addition it uses a our own op-geth as a dependency instead of go-ethereum (
see go.mod
), and builds an op-geth and rskj images in the docker compose process.Resolves ROLLUP-521
details
The op-geth PR should be merged first. Once it is, we should change references to it from the PR branch (optimism_genesis
) torsk/poc-v0
.this one will require to rungit rev-parse rsk/poc-v0
once updated.Known issues:
When depositing and withdrawing using the op SDK, the logs-check (get event and compare hash) fails. Although it may be related to some changes in this PR, in order to move on, I've created a bug issue for this instead of fixing it here.