Skip to content

feat: fund TEE addresses from another wallet (not from builder's one) #167

Open
@0x416e746f6e

Description

@0x416e746f6e

presently when a new builder is booting up with flashtestations enabled, it tries to use builder's wallet to fund TEE address.

unfortunately, in h.a. setup where same builder's private key is shared across multiple instances of the builder, that results in "nonce too low" error:

{"timestamp":"2025-06-18T14:01:49.433948Z","level":"INFO","fields":{"message":"funding TEE address at 0x5810F0185Ca7700D2c4D37d3a7bf93Bd2958eBc4"},"target":"flashtestations"}
{"timestamp":"2025-06-18T14:01:50.960296Z","level":"ERROR","fields":{"message":"funding transaction failed","error":"server returned an error response: error code -32000: nonce too low: next nonce 5724167, tx nonce 5724161"},"target":"flashtestations"}
{"timestamp":"2025-06-18T14:01:50.960346Z","level":"WARN","fields":{"message":"Failed to spawn flashtestations service, falling back to standard builder tx","error":"server returned an error response: error code -32000: nonce too low: next nonce 5724167, tx nonce 5724161"},"target":"op_rbuilder::builders::standard::payload"}

easiest way around this is to use a separate wallet to fund TEE addresses.

also, could help to retry a few times on recoverable errors such as "nonce too low".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions