Skip to content

feat: v3.9.8#143

Open
varun-doshi wants to merge 2 commits intointegrationfrom
v3.9.8
Open

feat: v3.9.8#143
varun-doshi wants to merge 2 commits intointegrationfrom
v3.9.8

Conversation

@varun-doshi
Copy link
Copy Markdown

Upgrade to v3.9.8
The image will be updated once the PR in integration is merged in

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Espresso nitro-node version to vd-upgrade-v3.9.8 and modifies configuration settings in scripts/config.ts, including the removal of deprecated fields and updating the tee-type to TESTS. Feedback points out that the tee-type update is missing from the default simpleConfig, which may cause failures, and suggests improvements for indentation and quote consistency.

posterConfig.node.espresso['batch-poster'] = {
'hotshot-url': argv.espressoUrl,
'tee-type': 'SGX'
'tee-type': 'TESTS'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The addition of "tee-type": "TESTS" here and in the l3Config (line 528) appears to be missing from the simpleConfig initialization at line 342. Since --simple is the default mode for the test node and is explicitly used in test-node.bash and create-espresso-integrated-nitro-node.bash, this inconsistency will likely cause the sequencer to fail in Espresso mode if the upgraded nitro-node requires this field for the batch poster.

Additionally, the indentation of this entire block (lines 485-488) is inconsistent with the surrounding code; it is currently indented 8 spaces but should be at 6 spaces to align with the if (argv.espresso) block. Finally, consider using double quotes for the key to maintain consistency with other configuration keys in this file (e.g., lines 437-440).

Suggested change
'tee-type': 'TESTS'
"tee-type": "TESTS"

l3Config.node.espresso['batch-poster'] = {
'hotshot-url': argv.espressoUrl,
'tee-type': 'SGX'
'tee-type': 'TESTS'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

For consistency with the rest of the configuration keys in this file (such as those in the caff-node section at lines 433-440), it is recommended to use double quotes for the property name and value.

Suggested change
'tee-type': 'TESTS'
"tee-type": "TESTS"

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.

1 participant