Skip to content

update to op stack v1.9.3#100

Open
ayazabbas wants to merge 6 commits intomasterfrom
update-op-stack-version
Open

update to op stack v1.9.3#100
ayazabbas wants to merge 6 commits intomasterfrom
update-op-stack-version

Conversation

@ayazabbas
Copy link

Works for devnet. Still need to update the production config template.

@ayazabbas ayazabbas requested a review from norswap June 23, 2024 22:21
Copy link
Member

@norswap norswap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took me so long — looking good, have you tried running this on Sepolia or another non-devnet testnet?

Few things to fix and a couple of questions, but we can merge this soon 🚀

res = lib.send_json_rpc_request(host, 3, "debug_dumpBlock", ["latest"])
response = json.loads(res)
allocs = response['result']
lib.write_json_file(config.l1_allocs_path, allocs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened to this? Oh I see it's handled by the contracts now?

deps.py Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this install pnpm if it's not already installed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my tests it looks like not.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems you need a fairly recent version of pnpm that's why I thought to change it to update but let's keep it as install for now and address it if we see issues in future

try:
_deploy_contracts_on_l1(config, tmp_l1)
finally:
os.remove(config.op_deploy_config_path)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we shouldn't delete this and pass the config.deploy_config_path (without the op) as DEPLOY_CONFIG_PATH below?

'--l1-deployments', config.addresses_path,
'--outfile.l2', config.l2_genesis_path,
'--outfile.rollup', config.rollup_config_path
], cwd=config.op_node_dir, log_file=log_file)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking if the last two invocations require rolling (i.e. if they emit a lot of output, or something we might want to save)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at the outputs, I think there is some potentially useful info here so doesn't hurt to save it imo

setup.py Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might have been merged? We could probably remove the whole fix.

setup.py Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the README accordingly (same for the monorepo version)?

deps.py Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is broken — looks like after a certan time they prune most of the intermediate nightlies. For some reason, it looks like they often keep the 2nd of the month nightlies so I suggest we update to nightly-5ac78a9cd4b94dc53d1fe5e0f42372b28b5a7559 from 2024-06-02

remove custom tagging in the op monorepo
@ayazabbas
Copy link
Author

Sorry it took me so long — looking good, have you tried running this on Sepolia or another non-devnet testnet?

Few things to fix and a couple of questions, but we can merge this soon 🚀

I have not tried this on non-devnet yet, I'd like to work on getting devnet working with ansible first. Do you think we need to test non-devnet deployments before we can merge this?

@ayazabbas ayazabbas changed the title update to op stack v1.7.7 update to op stack v1.9.3 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments