Skip to content

fix(node): Return correct version information#204

Merged
danyalprout merged 1 commit intobase:mainfrom
danyalprout:accurate-version
Feb 26, 2024
Merged

fix(node): Return correct version information#204
danyalprout merged 1 commit intobase:mainfrom
danyalprout:accurate-version

Conversation

@danyalprout
Copy link
Copy Markdown
Collaborator

Description

Specify the version when building op-node, this

# Before
❯ curl -X POST -H "Content-Type: application/json" --data \
    '{"jsonrpc":"2.0","method":"optimism_version","params":[],"id":1}' \
    http://localhost:7545
{"jsonrpc":"2.0","id":1,"result":"v0.0.0-"}

# After
❯ curl -X POST -H "Content-Type: application/json" --data \
    '{"jsonrpc":"2.0","method":"optimism_version","params":[],"id":1}' \
    http://localhost:7545
{"jsonrpc":"2.0","id":1,"result":"v1.5.1-"}

@danyalprout danyalprout changed the title Setup base op-node to report accurate version tag fix(node): Return correct version information Feb 26, 2024
@danyalprout danyalprout merged commit 3b4eed9 into base:main Feb 26, 2024
@danyalprout danyalprout deleted the accurate-version branch February 26, 2024 23:13
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