Skip to content
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

fix: sequencer forwarding #106

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

leovct
Copy link
Contributor

@leovct leovct commented Dec 6, 2024

Description

Closes #86

Configure sequencer forwarding to send transactions to the sequencer EL RPC endpoint instead of the CL RPC endpoint.

Nightly workflow: https://github.com/leovct/optimism-package/actions/runs/12199976016

Test

kurtosis run --enclave op --args-file .github/tests/op-geth.yaml .

export ETH_RPC_URL=$(kurtosis port print op op-el-2-op-geth-hildr-op-kurtosis rpc)
curl \
  --request POST \
  --url $ETH_RPC_URL \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{"id":0,"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0x02f8718320d5e480018476bb8201825208940000000000000000000000000000000000000000880de0b6b3a764000080c001a09322fe55a0a429fc26fc3703fea0e44298e28ac884afa448f1f9dd0ea6ac080ca07650448283d4afd481d7b690bb5251c75a7aca3a6e41d06cab49b0727218d074"]}'

Without the fix:

{"jsonrpc":"2.0","id":0,"error":{"code":-32601,"message":"the method eth_sendRawTransaction does not exist/is not available"}}

With the fix:

{"jsonrpc":"2.0","id":0,"result":"0x90dc459ccc7429d1cdef3c3e4e7caa069142312b65bfe45cd14b4ff8f6dcd803"}

@barnabasbusa barnabasbusa enabled auto-merge (squash) December 6, 2024 17:10
@barnabasbusa barnabasbusa merged commit 0505def into ethpandaops:main Dec 6, 2024
5 checks passed
barnabasbusa added a commit that referenced this pull request Dec 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](1.1.0...1.2.0)
(2024-12-13)


### Features

* add miner to op-geth
([#98](#98))
([01eccb4](01eccb4))
* add miner to op-reth
([#99](#99))
([9bd409e](9bd409e))
* add option to deploy the package to an external layer 1
([#104](#104))
([a19a5fb](a19a5fb))
* integrate Rollup boost
([#105](#105))
([df0aa48](df0aa48))


### Bug Fixes

* add miner as an api
([#97](#97))
([349d815](349d815))
* image tag name
([#96](#96))
([28d6a79](28d6a79))
* Readme
([#103](#103))
([0d60a9d](0d60a9d))
* readme
([#93](#93))
([1fb3de4](1fb3de4))
* remove additional example from network_params
([#107](#107))
([b58e98e](b58e98e))
* sequencer forwarding
([#106](#106))
([0505def](0505def))
* update default network params
([e0902cf](e0902cf))
* Update Nethermind scripts for Holocene
([#92](#92))
([50f0193](50f0193))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Barnabas Busa <barnabas.busa@ethereum.org>
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.

Misconfigured sequencer forwarding
2 participants