← Back to Pull requests

feat: add Besu QBFT light client support #1481

Merged
gjermundgaraba merged 100 files (5104 lines) on Sep 30, 2026 13:06 UTC
View on GitHub
gjermundgaraba gjermundgaraba commented on Sep 18, 2026 07:12 UTC
Author

Summary


  • Relayer: a native besu-qbft prover. It reads the client state from the host chain, fetches sealed headers and eth_getProof results from the Besu chain, and encodes update and membership payloads. The light client verifies everything at simulation; at startup the relayer only checks that the client proves the counterparty's configured router.

  • Deploy: ibc deploy client besu-qbft bootstraps a client from the counterparty's current head, with a required --trusting-period.

  • Errors: relay submission names custom-error reverts from the router and light client ABIs, e.g. ConsensusStateExpired(100, 121, 20): execution reverted.

  • Shared code: cli/besu parses sealed headers, encodes messages and reads the client state; the e2e harness uses it too.

  • Tests and docs: unit tests, a Besu QBFT e2e transfer test (complete mode), and light client, relayer, configuration and CLI docs.
  • closes FOU-1404

    Breaking changes


  • ibc deploy client [--type attestation] is now ibc deploy client attestation, and Besu clients use ibc deploy client besu-qbft. Each subcommand takes only its own flags.

  • The remote prover RPC StateProof is now ClientUpdatePayloads, returning repeated bytes payloads: the updates to submit in order before the packets. An empty list means no update, and every entry is a non-empty updateMsg. The Go Prover interface changes the same way.

  • The prover metric label state_proof is now client_update_payloads.
  • Validation


  • CI passes on 684c5c1.

  • Locally: make -C cli lint-fix and go test ./..., the fast e2e suite, and TestTransferBesuQBFT_AutoRelay in complete mode.
  • Follow-up


  • FOU-1406: e2e tests for the Besu QBFT client in ibc link.

  • FOU-1612: validator catch-up and historical anchor selection. The relayer does not yet chain updates across validator turnover.

  • FOU-1699: whether prover client updates need a trusted-height parameter.

  • FOU-1700: store typed light client params in the deployment manifest.
  • Diff: 5104 lines (+4117 / -987) across 100 files Reviewer: srdtrk Review duration: 17634m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.72) × (1 − Review Confidence (0.74)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.72 · 5104 lines diff across 100 files
    0.72
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.49 · 5 substantive comment(s)
    0.49
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    74%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    41 items
    greptile-apps[bot] greptile-apps[bot] commented on Sep 18, 2026 07:18 UTC
    Bot

    <!-- greptile_summary -->

    <h2><a href="https://app.greptile.com/api/retrigger?id=65928255"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img alt="Retrigger" src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2" align="right"></picture></a>Confidence Score: 5/5</h2>

    The PR appears safe to merge; no actionable new defects remain after the malformed proof-node handling was corrected.

    <h3>Summary</h3>

    This PR adds end-to-end Besu QBFT light-client support across deployment, relaying, proof generation, configuration, documentation, and test infrastructure. Changes since the previous review replace permissive proof-node decoding with validated hex decoding and add regression coverage for malformed account and storage proofs.

  • Adds Besu QBFT header parsing, consensus validation, validator-threshold checks, and proof encoding.

  • Integrates native Besu proving into deployment and relayer workflows.

  • Extends configuration, CLI documentation, fixtures, and unit/e2e coverage.

  • Rejects malformed or empty individual proof nodes before constructing relay transactions while preserving valid empty proof arrays.
  • <details><summary>Diagram</summary>

    %%{init: {'theme': 'neutral'}}%%
    flowchart LR
        RPC[Besu JSON-RPC] --> Header[Sealed QBFT header]
        RPC --> Proof[eth_getProof response]
        Header --> Validate[Validate seals, quorum, overlap, and consensus state]
        Proof --> Decode[Strictly decode account and storage proof nodes]
        Validate --> Payload[Client update payload]
        Decode --> Membership[Membership or non-membership proof]
        Payload --> Relayer[Relayer transaction]
        Membership --> Relayer
        Relayer --> Contract[Besu QBFT light-client contract]
    

    </details>

    <sub>Reviews (2) · Last reviewed commit: "fix: reject malformed RPC proof nodes"</sub>

    greptile-apps[bot] greptile-apps[bot] commented on code on Sep 18, 2026 07:18 UTC
    Code Review
    cli/internal/chains/evm/client.go:1
    @@ -288,6 +320,197 @@ func (c *Client) GetAttestationSet(ctx context.Context, clientID string) ([]stri
     	return addresses, set.MinRequiredSigs, nil
     }
     
    +// SealedHeader returns the Besu QBFT header at height, parsed from the node's
    +// sealed RLP. Validators come from extraData.
    +func (c *Client) SealedHeader(ctx context.Context, height uint64) (*besu.Header, error) {
    +	header, err := c.eth.HeaderByNumber(ctx, heightToBigInt(height))
    +	if err != nil {
    +		return nil, errors.Wrapf(err, "getting header for height %d on chain %s", height, c.chainID)
    +	}
    +
    +	sealed, err := besu.ParseSealedHeader(header)
    +	if err != nil {
    +		return nil, errors.Wrapf(err, "header %d on chain %s is not a Besu QBFT header", height, c.chainID)
    +	}
    +
    +	if height != v2.LatestBlock && sealed.Height != height {
    +		return nil, errors.Errorf("chain %s returned header %d for height %d", c.chainID, sealed.Height, height)
    +	}
    +
    +	return sealed, nil
    +}
    +
    +// GetRouterProof proves the router account and the requested storage slots at
    +// height via eth_getProof, matching storage proofs to slots by key.
    +func (c *Client) GetRouterProof(ctx context.Context, height uint64, slots [][32]byte) (AccountProof, error) {
    +	keys := make([]string, len(slots))
    +	for i, slot := range slots {
    +		keys[i] = common.Hash(slot).Hex()
    +	}
    +
    +	result, err := c.eth.GetProof(ctx, c.routerAddress, keys, heightToBigInt(height))
    +	if err != nil {
    +		return AccountProof{}, errors.Wrapf(err, "getting router proof at height %d on chain %s", height, c.chainID)
    +	}
    +
    +	proof, err := accountProofFromResult(result, slots)
    +	if err != nil {
    +		return AccountProof{}, errors.Wrapf(err, "router proof at height %d on chain %s", height, c.chainID)
    +	}
    +
    +	return proof, nil
    +}
    +
    +// accountProofFromResult converts an eth_getProof result, requiring a
    +// well-formed storage proof for every requested slot regardless of response
    +// order.
    +func accountProofFromResult(result *gethclient.AccountResult, slots [][32]byte) (AccountProof, error) {
    +	byKey := make(map[[32]byte]StorageProof, len(result.StorageProof))
    +
    +	for i, storage := range result.StorageProof {
    +		key := common.BytesToHash(common.FromHex(storage.Key))
    +
    +		if storage.Value == nil || storage.Value.Sign() < 0 || storage.Value.BitLen() > 256 {
    +			return AccountProof{}, errors.Errorf("storage proof %d has an invalid value", i)
    +		}
    +
    +		if _, dup := byKey[key]; dup {
    +			return AccountProof{}, errors.Errorf("duplicate storage proof for slot %s", key)
    +		}
    +
    +		byKey[key] = StorageProof{Key: key, Value: storage.Value, Proof: decodeProofNodes(storage.Proof)}
    +	}
    +
    +	proofs := make([]StorageProof, len(slots))
    +
    +	for i, slot := range slots {
    +		proof, ok := byKey[slot]
    +		if !ok {
    +			return AccountProof{}, errors.Errorf("no storage proof returned for slot %s", common.Hash(slot))
    +		}
    +
    +		proofs[i] = proof
    +	}
    +
    +	return AccountProof{
    +		AccountProof:  decodeProofNodes(result.AccountProof),
    +		StorageProofs: proofs,
    +	}, nil
    +}
    +
    +func decodeProofNodes(nodes []string) [][]byte {
    +	out := make([][]byte, len(nodes))
    +	for i, node := range nodes {
    +		out[i] = common.FromHex(node)

    <a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"></a> Malformed proof nodes accepted

    A malformed proof-node string returned by the configured RPC is decoded with common.FromHex, which silently produces empty bytes instead of an error. Those bytes are then encoded into the membership proof, causing avoidable transaction reverts and repeated relay attempts instead of identifying the invalid RPC response locally. Please use an error-returning hex decoder and reject empty or malformed account and storage proof nodes.

    linear-code[bot] linear-code[bot] commented on Sep 18, 2026 07:50 UTC
    Bot
    gjermundgaraba gjermundgaraba commented on Sep 18, 2026 08:09 UTC
    Author

    @greptile review

    gjermundgaraba gjermundgaraba commented on Sep 18, 2026 08:10 UTC
    Author

    FYI: this needs https://github.com/cosmos/ibc-contracts/pull/1138 and an update to the go.mod before it can be merged

    srdtrk srdtrk commented on code on Sep 18, 2026 08:44 UTC
    Code Review
    cli/api/v2/prover/prover.connect.go:1
    @@ -37,22 +37,22 @@ const (
     	// ProverServiceLatestProvableHeightProcedure is the fully-qualified name of the ProverService's
     	// LatestProvableHeight RPC.
     	ProverServiceLatestProvableHeightProcedure = "/ibc.v2.prover.ProverService/LatestProvableHeight"
    -	// ProverServiceStateProofProcedure is the fully-qualified name of the ProverService's StateProof
    -	// RPC.
    -	ProverServiceStateProofProcedure = "/ibc.v2.prover.ProverService/StateProof"
    +	// ProverServiceClientUpdatePayloadProcedure is the fully-qualified name of the ProverService's
    +	// ClientUpdatePayload RPC.
    +	ProverServiceClientUpdatePayloadProcedure = "/ibc.v2.prover.ProverService/ClientUpdatePayload"
     	// ProverServicePacketProofsProcedure is the fully-qualified name of the ProverService's
     	// PacketProofs RPC.
     	ProverServicePacketProofsProcedure = "/ibc.v2.prover.ProverService/PacketProofs"
     )
     
     // ProverServiceClient is a client for the ibc.v2.prover.ProverService service.
     type ProverServiceClient interface {
    -	// LatestProvableHeight returns the highest height a subsequent StateProof
    +	// LatestProvableHeight returns the highest height a subsequent ClientUpdatePayload
     	// and PacketProofs call sharing that height can currently succeed at, with
     	// that height's counterparty-chain timestamp.
     	LatestProvableHeight(context.Context, *connect.Request[LatestProvableHeightRequest]) (*connect.Response[LatestProvableHeightResponse], error)
    -	// StateProof proves the light client's counterparty state at a height.
    -	StateProof(context.Context, *connect.Request[StateProofRequest]) (*connect.Response[StateProofResponse], error)
    +	// ClientUpdatePayload returns the encoded light-client update payload at a height.
    +	ClientUpdatePayload(context.Context, *connect.Request[ClientUpdatePayloadRequest]) (*connect.Response[ClientUpdatePayloadResponse], error)

    Seems to be an unrelated naming change?

    srdtrk srdtrk commented on code on Sep 18, 2026 09:31 UTC
    Code Review
    cli/besu/besutest/encoding.go:1
    @@ -0,0 +1,20 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besutest
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +)
    +
    +var messageBindings = besumsgs.NewBindings()
    +
    +// EncodeClientState produces getClientState() output, for tests and fakes.
    +func EncodeClientState(state besumsgs.IBesuLightClientMsgsClientState) ([]byte, error) {

    It's a shame we need these helpers. For example, if we were okay with the non-try version of the functions, we could do this inline with

    encoded := messageBindings.PackClientState(state)[4:]
    

    srdtrk srdtrk commented on code on Sep 18, 2026 09:33 UTC
    Code Review
    cli/besu/besutest/builder.go:1

    I wonder why this must all live under cli. But I haven't worked with link much so I guess this is the standard in this repo

    srdtrk srdtrk commented on code on Sep 18, 2026 10:46 UTC
    Code Review
    cli/besu/messages_abi.go:1
    @@ -0,0 +1,52 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +)
    +
    +var messageBindings = besumsgs.NewBindings()
    +
    +// EncodeUpdateClient builds the updateClient payload: the raw header, the
    +// trusted height (revision 0) and the preimage of the consensus state trusted
    +// at that height.
    +func EncodeUpdateClient(
    +	headerRLP []byte,
    +	trustedHeight uint64,
    +	preimage besumsgs.IBesuLightClientMsgsConsensusState,
    +) ([]byte, error) {
    +	data, err := messageBindings.TryPackUpdateClient(besumsgs.IBesuLightClientMsgsMsgUpdateClient{
    +		HeaderRlp:              headerRLP,
    +		TrustedHeight:          besumsgs.IICS02ClientMsgsHeight{RevisionHeight: trustedHeight},
    +		ConsensusStatePreimage: preimage,
    +	})
    +	if err != nil {
    +		return nil, fmt.Errorf("encode update client: %w", err)
    +	}
    +
    +	return data[4:], nil
    +}
    +
    +// EncodeMembershipProof builds the proof bytes for verifyMembership and
    +// verifyNonMembership: the preimage of the consensus state at the proof height,
    +// the state trie nodes proving the router account and the storage trie nodes
    +// eth_getProof returned for the commitment slot. accountProofNodes may be
    +// empty when an earlier call in the same transaction proved the same height.
    +func EncodeMembershipProof(
    +	preimage besumsgs.IBesuLightClientMsgsConsensusState,
    +	accountProofNodes, proofNodes [][]byte,

    nit: If this is an encoding function, then it should simply take IBesuLightClientMsgsMembershipProof input imo

    srdtrk srdtrk commented on code on Sep 18, 2026 10:46 UTC
    Code Review
    cli/besu/messages_abi.go:1
    @@ -0,0 +1,52 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +)
    +
    +var messageBindings = besumsgs.NewBindings()
    +
    +// EncodeUpdateClient builds the updateClient payload: the raw header, the
    +// trusted height (revision 0) and the preimage of the consensus state trusted
    +// at that height.
    +func EncodeUpdateClient(
    +	headerRLP []byte,
    +	trustedHeight uint64,
    +	preimage besumsgs.IBesuLightClientMsgsConsensusState,

    nit: If this is an encoding function, then it should simply take IBesuLightClientMsgsMsgUpdateClient input imo

    srdtrk srdtrk commented on code on Sep 18, 2026 10:48 UTC
    Code Review
    cli/besu/storage.go:1
    @@ -0,0 +1,20 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"github.com/ethereum/go-ethereum/common"
    +	"github.com/ethereum/go-ethereum/crypto"
    +)
    +
    +// IBCStoreStorageSlot is the ERC-7201 namespace slot of IBCStoreUpgradeable's
    +// commitment mapping, keccak256(abi.encode(uint256(keccak256("ibc.storage.IBCStore")) - 1)) & ~0xff.
    +var IBCStoreStorageSlot = common.HexToHash("0x1260944489272988d9df285149b5aa1b0f48f2136d6f416159f840a3e0747600")

    This is actually availible in go-abigen package. See

    srdtrk srdtrk commented on code on Sep 18, 2026 10:53 UTC
    Code Review
    cli/besu/thresholds.go:1
    @@ -0,0 +1,64 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +	"github.com/ethereum/go-ethereum/common"
    +)
    +
    +// OverlapRequired is how many commit seal signers of a new header must belong
    +// to the trusted validator set: strictly more than one third of it.
    +func OverlapRequired(trusted int) int { return trusted/3 + 1 }

    This is actually changed upstream now. And this is the problem with this code. Why do we have all this written manually. What use does this serve in link. I'd want all this removed. We are not writing the besu light client in golang. If we did, it should go to ibc-go

    srdtrk srdtrk commented on code on Sep 18, 2026 10:53 UTC
    Code Review
    cli/besu/thresholds.go:1
    @@ -0,0 +1,64 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +	"github.com/ethereum/go-ethereum/common"
    +)
    +
    +// OverlapRequired is how many commit seal signers of a new header must belong
    +// to the trusted validator set: strictly more than one third of it.
    +func OverlapRequired(trusted int) int { return trusted/3 + 1 }
    +
    +// QuorumRequired is how many commit seal signers must belong to the new
    +// header's own validator set: Besu's ceil(2n/3), written n - floor(n/3).
    +func QuorumRequired(validators int) int { return validators - validators/3 }

    ugly. Improved in solidity, should be here too

    srdtrk srdtrk commented on code on Sep 18, 2026 10:54 UTC
    Code Review
    cli/besu/thresholds.go:1
    @@ -0,0 +1,64 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +	"github.com/ethereum/go-ethereum/common"
    +)
    +
    +// OverlapRequired is how many commit seal signers of a new header must belong
    +// to the trusted validator set: strictly more than one third of it.
    +func OverlapRequired(trusted int) int { return trusted/3 + 1 }
    +
    +// QuorumRequired is how many commit seal signers must belong to the new
    +// header's own validator set: Besu's ceil(2n/3), written n - floor(n/3).
    +func QuorumRequired(validators int) int { return validators - validators/3 }
    +
    +// CheckUpdate reports whether target, signed by signers, is accepted as an
    +// update from a client that trusts the validators in trusted. It runs both
    +// threshold rules and flags the case where no signer is a header validator,
    +// which points at a header encoding problem rather than turnover.
    +func CheckUpdate(target *Header, signers []common.Address, trusted besumsgs.IBesuLightClientMsgsConsensusState) error {
    +	headerSigners := countMembers(signers, target.Validators)
    +	hint := ""
    +	if headerSigners == 0 {
    +		hint = " (no recovered signer is a header validator: suspect header RLP fidelity)"
    +	}
    +
    +	overlap := countMembers(signers, trusted.Validators)
    +	required := OverlapRequired(len(trusted.Validators))
    +	if overlap < required {
    +		return fmt.Errorf(
    +			"%w: %d signers in the trusted set, %d required%s",
    +			ErrInsufficientOverlap, overlap, required, hint,
    +		)
    +	}
    +	if required := QuorumRequired(len(target.Validators)); headerSigners < required {
    +		return fmt.Errorf(
    +			"%w: %d signers in the header set, %d required%s",
    +			ErrInsufficientQuorum, headerSigners, required, hint,
    +		)
    +	}
    +
    +	return nil
    +}
    +
    +func countMembers(signers, set []common.Address) int {
    +	members := make(map[common.Address]struct{}, len(set))
    +	for _, address := range set {
    +		members[address] = struct{}{}
    +	}
    +
    +	count := 0
    +
    +	for _, signer := range signers {
    +		if _, ok := members[signer]; ok {
    +			count++
    +		}
    +	}
    +
    +	return count
    +}

    Why does link need to do this?

    srdtrk srdtrk commented on code on Sep 18, 2026 10:54 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -278,27 +289,66 @@ func clientSpec(
     	if counterpartyClientID == "" {
     		counterpartyClientID = defaultClientID(chainID, counterpartyChainID)
     	}
    +	spec := deploy.ClientSpec{
    +		ClientID:             clientID,
    +		Type:                 flagDeployClientType,
    +		CounterpartyChainID:  counterpartyChainID,
    +		CounterpartyClientID: counterpartyClientID,
    +	}
    +	switch flagDeployClientType {
    +	case deploy.ClientTypeAttestation:
    +		params, err := attestationParams(ctx, cfg, counterpartyTarget, counterpartyChainID)
    +		if err != nil {
    +			return deploy.ClientSpec{}, err
    +		}
    +		spec.Params = params
    +	case deploy.ClientTypeBesuQBFT:

    no IBFT? I'd prefer having this if possible

    srdtrk srdtrk commented on code on Sep 18, 2026 11:51 UTC
    Code Review
    cli/besu/header.go:1
    @@ -0,0 +1,109 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"errors"
    +	"fmt"
    +	"math/big"
    +	"slices"
    +
    +	"github.com/ethereum/go-ethereum/common"
    +	"github.com/ethereum/go-ethereum/crypto"
    +	"github.com/ethereum/go-ethereum/rlp"
    +)
    +
    +// Header is a parsed Besu QBFT block header. RLP is the exact encoding the
    +// light client receives; the other fields are decoded from it.
    +type Header struct {

    Kind of duplicate of builder

    srdtrk srdtrk commented on code on Sep 18, 2026 11:55 UTC
    Code Review
    cli/besu/thresholds.go:1

    just relay bro (simulate if not sure)

    srdtrk srdtrk commented on code on Sep 18, 2026 11:56 UTC
    Code Review
    cli/besu/besutest/encoding.go:1

    maybe move to clientstate.go in internal

    srdtrk srdtrk commented on Sep 18, 2026 14:31 UTC
    Reviewer

    initial (limited scope) review, would like consensus light client logic to be removed

    swift1337 swift1337 commented on code on Sep 21, 2026 11:23 UTC
    Code Review
    cli/internal/chains/evm/client.go:1
    @@ -288,6 +320,213 @@ func (c *Client) GetAttestationSet(ctx context.Context, clientID string) ([]stri
     	return addresses, set.MinRequiredSigs, nil
     }
     
    +// SealedHeader returns the Besu QBFT header at height, parsed from the node's
    +// sealed RLP. Validators come from extraData.
    +func (c *Client) SealedHeader(ctx context.Context, height uint64) (*besu.Header, error) {

    I think Besu-specific clients should live under chains/besu or chains/evm/besu.go

    type BesuClient struct {
      *Client
    }
    

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 13:42 UTC
    Code Review
    cli/besu/besutest/builder.go:1

    it made slightly more sense when it was called "link" :P
    but i do agree that a restructure should be done before we release!

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 13:43 UTC
    Code Review
    cli/api/v2/prover/prover.connect.go:1
    @@ -37,22 +37,22 @@ const (
     	// ProverServiceLatestProvableHeightProcedure is the fully-qualified name of the ProverService's
     	// LatestProvableHeight RPC.
     	ProverServiceLatestProvableHeightProcedure = "/ibc.v2.prover.ProverService/LatestProvableHeight"
    -	// ProverServiceStateProofProcedure is the fully-qualified name of the ProverService's StateProof
    -	// RPC.
    -	ProverServiceStateProofProcedure = "/ibc.v2.prover.ProverService/StateProof"
    +	// ProverServiceClientUpdatePayloadProcedure is the fully-qualified name of the ProverService's
    +	// ClientUpdatePayload RPC.
    +	ProverServiceClientUpdatePayloadProcedure = "/ibc.v2.prover.ProverService/ClientUpdatePayload"
     	// ProverServicePacketProofsProcedure is the fully-qualified name of the ProverService's
     	// PacketProofs RPC.
     	ProverServicePacketProofsProcedure = "/ibc.v2.prover.ProverService/PacketProofs"
     )
     
     // ProverServiceClient is a client for the ibc.v2.prover.ProverService service.
     type ProverServiceClient interface {
    -	// LatestProvableHeight returns the highest height a subsequent StateProof
    +	// LatestProvableHeight returns the highest height a subsequent ClientUpdatePayload
     	// and PacketProofs call sharing that height can currently succeed at, with
     	// that height's counterparty-chain timestamp.
     	LatestProvableHeight(context.Context, *connect.Request[LatestProvableHeightRequest]) (*connect.Response[LatestProvableHeightResponse], error)
    -	// StateProof proves the light client's counterparty state at a height.
    -	StateProof(context.Context, *connect.Request[StateProofRequest]) (*connect.Response[StateProofResponse], error)
    +	// ClientUpdatePayload returns the encoded light-client update payload at a height.
    +	ClientUpdatePayload(context.Context, *connect.Request[ClientUpdatePayloadRequest]) (*connect.Response[ClientUpdatePayloadResponse], error)

    No, it is very much related. This naming for the prover was very attestation-geared, so refactored to a more general name

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 14:55 UTC
    Code Review
    cli/besu/besutest/encoding.go:1
    @@ -0,0 +1,20 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besutest
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +)
    +
    +var messageBindings = besumsgs.NewBindings()
    +
    +// EncodeClientState produces getClientState() output, for tests and fakes.
    +func EncodeClientState(state besumsgs.IBesuLightClientMsgsClientState) ([]byte, error) {

    since it's test-only, we are! removed it.

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 14:55 UTC
    Code Review
    cli/besu/messages_abi.go:1
    @@ -0,0 +1,52 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +)
    +
    +var messageBindings = besumsgs.NewBindings()
    +
    +// EncodeUpdateClient builds the updateClient payload: the raw header, the
    +// trusted height (revision 0) and the preimage of the consensus state trusted
    +// at that height.
    +func EncodeUpdateClient(
    +	headerRLP []byte,
    +	trustedHeight uint64,
    +	preimage besumsgs.IBesuLightClientMsgsConsensusState,
    +) ([]byte, error) {
    +	data, err := messageBindings.TryPackUpdateClient(besumsgs.IBesuLightClientMsgsMsgUpdateClient{
    +		HeaderRlp:              headerRLP,
    +		TrustedHeight:          besumsgs.IICS02ClientMsgsHeight{RevisionHeight: trustedHeight},
    +		ConsensusStatePreimage: preimage,
    +	})
    +	if err != nil {
    +		return nil, fmt.Errorf("encode update client: %w", err)
    +	}
    +
    +	return data[4:], nil
    +}
    +
    +// EncodeMembershipProof builds the proof bytes for verifyMembership and
    +// verifyNonMembership: the preimage of the consensus state at the proof height,
    +// the state trie nodes proving the router account and the storage trie nodes
    +// eth_getProof returned for the commitment slot. accountProofNodes may be
    +// empty when an earlier call in the same transaction proved the same height.
    +func EncodeMembershipProof(
    +	preimage besumsgs.IBesuLightClientMsgsConsensusState,
    +	accountProofNodes, proofNodes [][]byte,

    fixed

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 14:56 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -278,27 +289,66 @@ func clientSpec(
     	if counterpartyClientID == "" {
     		counterpartyClientID = defaultClientID(chainID, counterpartyChainID)
     	}
    +	spec := deploy.ClientSpec{
    +		ClientID:             clientID,
    +		Type:                 flagDeployClientType,
    +		CounterpartyChainID:  counterpartyChainID,
    +		CounterpartyClientID: counterpartyClientID,
    +	}
    +	switch flagDeployClientType {
    +	case deploy.ClientTypeAttestation:
    +		params, err := attestationParams(ctx, cfg, counterpartyTarget, counterpartyChainID)
    +		if err != nil {
    +			return deploy.ClientSpec{}, err
    +		}
    +		spec.Params = params
    +	case deploy.ClientTypeBesuQBFT:

    Made a follow-up issue for IBFT that i'll take after this: FOU-1664

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 15:14 UTC
    Code Review
    cli/besu/header.go:1
    @@ -0,0 +1,109 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"errors"
    +	"fmt"
    +	"math/big"
    +	"slices"
    +
    +	"github.com/ethereum/go-ethereum/common"
    +	"github.com/ethereum/go-ethereum/crypto"
    +	"github.com/ethereum/go-ethereum/rlp"
    +)
    +
    +// Header is a parsed Besu QBFT block header. RLP is the exact encoding the
    +// light client receives; the other fields are decoded from it.
    +type Header struct {

    yeah, trimmed it a bit

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 15:15 UTC
    Code Review
    cli/besu/storage.go:1
    @@ -0,0 +1,20 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"github.com/ethereum/go-ethereum/common"
    +	"github.com/ethereum/go-ethereum/crypto"
    +)
    +
    +// IBCStoreStorageSlot is the ERC-7201 namespace slot of IBCStoreUpgradeable's
    +// commitment mapping, keccak256(abi.encode(uint256(keccak256("ibc.storage.IBCStore")) - 1)) & ~0xff.
    +var IBCStoreStorageSlot = common.HexToHash("0x1260944489272988d9df285149b5aa1b0f48f2136d6f416159f840a3e0747600")

    oh, true, fixed

    gjermundgaraba gjermundgaraba commented on code on Sep 21, 2026 15:15 UTC
    Code Review
    cli/besu/thresholds.go:1
    @@ -0,0 +1,64 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import (
    +	"fmt"
    +
    +	"github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs"
    +	"github.com/ethereum/go-ethereum/common"
    +)
    +
    +// OverlapRequired is how many commit seal signers of a new header must belong
    +// to the trusted validator set: strictly more than one third of it.
    +func OverlapRequired(trusted int) int { return trusted/3 + 1 }

    fixed

    srdtrk srdtrk commented on code on Sep 22, 2026 07:34 UTC
    Code Review
    cli/besu/header.go:1
    @@ -0,0 +1,15 @@
    +// SPDX-License-Identifier: Apache-2.0
    +
    +package besu
    +
    +import "github.com/ethereum/go-ethereum/common"
    +
    +// Header contains the fields needed to construct light-client payloads.
    +// RLP is preserved exactly; consensus validity is checked by the contract.
    +type Header struct {

    This is not the full header, (the actual header would have way more fields, so, maybe a better name is needed

    srdtrk srdtrk commented on code on Sep 22, 2026 07:37 UTC
    Code Review
    cli/besu/path.go:1

    super nit: better name for this file could be path.go. Storage can be somewhat ambiguous

    srdtrk srdtrk commented on code on Sep 22, 2026 08:02 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -309,27 +359,122 @@ func clientSpec(
     			timestamp = ts
     		}
     	}
    -	spec := deploy.ClientSpec{
    -		ClientID:             clientID,
    -		Type:                 flagDeployClientType,
    -		CounterpartyChainID:  counterpartyChainID,
    -		CounterpartyClientID: counterpartyClientID,
    +	return deploy.AttestationParams{
    +		Attestors:        attestors,
    +		Threshold:        flagDeployThreshold,
    +		InitialHeight:    height,
    +		InitialTimestamp: timestamp,
    +	}, nil
    +}
    +
    +// besuQBFTParams reuses recorded bootstrap state on reruns, while preserving
    +// explicit trust settings for conflict detection. New clients bootstrap from
    +// the counterparty at --height (default: head).
    +func besuQBFTParams(
    +	ctx context.Context,
    +	counterpartyRouter string,
    +	flags *pflag.FlagSet,
    +	counterpartyTarget deploy.Target,
    +	chainID, counterpartyChainID, clientID string,
    +) (deploy.BesuQBFTParams, error) {
    +	trustingPeriod, err := wholeSeconds(flagDeployTrustingPeriod, flagNameTrustingPeriod)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
     	}
    -	switch flagDeployClientType {
    -	case deploy.ClientTypeAttestation:
    -		spec.Params = deploy.AttestationParams{
    -			Attestors:        attestors,
    -			Threshold:        flagDeployThreshold,
    -			InitialHeight:    height,
    -			InitialTimestamp: timestamp,
    +	if flags.Changed(flagNameTrustingPeriod) && trustingPeriod == 0 {
    +		return deploy.BesuQBFTParams{}, errors.New("--trusting-period must be positive")
    +	}
    +	maxClockDrift, err := wholeSeconds(flagDeployMaxClockDrift, flagNameMaxClockDrift)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	recorded, ok, err := recordedClient(chainID, clientID)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	if ok && recorded.Type == deploy.ClientTypeBesuQBFT {
    +		params, decodeErr := deploy.BesuQBFTParamsFromClient(recorded)
    +		if decodeErr != nil {
    +			return deploy.BesuQBFTParams{}, decodeErr
     		}
    -	default:
    -		return deploy.ClientSpec{}, fmt.Errorf(
    -			"cannot construct client spec for unknown client type %s",
    -			flagDeployClientType,
    +		if flags.Changed(flagNameTrustingPeriod) {
    +			params.TrustingPeriod = trustingPeriod
    +		}
    +		if flags.Changed(flagNameMaxClockDrift) {
    +			params.MaxClockDrift = maxClockDrift
    +		}
    +		return params, nil
    +	}
    +	if !flags.Changed(flagNameTrustingPeriod) {
    +		return deploy.BesuQBFTParams{}, errors.New(
    +			"--trusting-period is required for a new besu-qbft client: choose a positive duration based on validator governance",
     		)
     	}
    -	return spec, nil
    +	source, ok := counterpartyTarget.(deploy.BesuQBFTSource)
    +	if !ok {
    +		return deploy.BesuQBFTParams{}, errors.Errorf(
    +			"counterparty chain %s cannot serve a besu-qbft trusted state", counterpartyChainID,
    +		)
    +	}
    +	if !common.IsHexAddress(counterpartyRouter) || common.HexToAddress(counterpartyRouter) == (common.Address{}) {
    +		return deploy.BesuQBFTParams{}, errors.Errorf(
    +			"counterparty chain %s needs a valid nonzero evm.ics26Router in config", counterpartyChainID,
    +		)
    +	}
    +	height := flagDeployHeight
    +	if height == 0 {
    +		head, _, headErr := counterpartyTarget.Head(ctx)
    +		if headErr != nil {
    +			return deploy.BesuQBFTParams{}, errors.Wrap(headErr, "fetch counterparty head for initial trusted state")
    +		}
    +		height = max(head, 1)
    +	}
    +	state, err := source.BesuQBFTTrustedState(ctx, height)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, errors.Wrapf(
    +			err,
    +			"read counterparty chain %s trusted state",
    +			counterpartyChainID,
    +		)
    +	}
    +	return deploy.BesuQBFTParams{
    +		IBCRouter:         counterpartyRouter,
    +		InitialHeight:     state.Height,
    +		InitialTimestamp:  state.Timestamp,
    +		InitialStateRoot:  state.StateRoot,
    +		InitialValidators: state.Validators,
    +		TrustingPeriod:    trustingPeriod,
    +		MaxClockDrift:     maxClockDrift,
    +	}, nil
    +}
    +
    +// recordedClient returns clientID's manifest entry on chainID, if any.
    +func recordedClient(chainID, clientID string) (manifest.Client, bool, error) {
    +	m, err := manifest.Load(flagDeployManifestDir, chainID)
    +	if err != nil {
    +		return manifest.Client{}, false, errors.Wrapf(
    +			err,
    +			"load manifest %s",
    +			manifest.Path(flagDeployManifestDir, chainID),
    +		)
    +	}
    +	if m == nil {
    +		return manifest.Client{}, false, nil
    +	}
    +	c, ok := m.Client(clientID)
    +	return c, ok, nil
    +}
    +
    +// wholeSeconds converts a duration flag into the contract's seconds, refusing
    +// values that truncation would silently change.
    +func wholeSeconds(d time.Duration, flag string) (uint64, error) {
    +	if d < 0 {
    +		return 0, errors.Errorf("--%s must not be negative, got %s", flag, d)
    +	}
    +	if d%time.Second != 0 {
    +		return 0, errors.Errorf("--%s must be whole seconds, got %s", flag, d)
    +	}
    +	return uint64(d / time.Second), nil
     }

    There is gotta be a better way to convert durations to seconds using std library functions...
    Also, flag is passed here only to be returned in the errors... If this is needed, flag can be used to wrap the error in one layer above

    srdtrk srdtrk commented on code on Sep 22, 2026 08:06 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -278,27 +289,66 @@ func clientSpec(
     	if counterpartyClientID == "" {
     		counterpartyClientID = defaultClientID(chainID, counterpartyChainID)
     	}
    +	spec := deploy.ClientSpec{
    +		ClientID:             clientID,
    +		Type:                 flagDeployClientType,
    +		CounterpartyChainID:  counterpartyChainID,
    +		CounterpartyClientID: counterpartyClientID,
    +	}
    +	switch flagDeployClientType {

    this is ugly. Ideally, the top level cli/cmd/ibc/deploy.go shouldn't care about implementation details and it should interact with chain/client specific packages through interfaces.

    Look at how much code is added to this file for supporting a single light client type

    srdtrk srdtrk commented on code on Sep 22, 2026 08:10 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -309,27 +359,122 @@ func clientSpec(
     			timestamp = ts
     		}
     	}
    -	spec := deploy.ClientSpec{
    -		ClientID:             clientID,
    -		Type:                 flagDeployClientType,
    -		CounterpartyChainID:  counterpartyChainID,
    -		CounterpartyClientID: counterpartyClientID,
    +	return deploy.AttestationParams{
    +		Attestors:        attestors,
    +		Threshold:        flagDeployThreshold,
    +		InitialHeight:    height,
    +		InitialTimestamp: timestamp,
    +	}, nil
    +}
    +
    +// besuQBFTParams reuses recorded bootstrap state on reruns, while preserving
    +// explicit trust settings for conflict detection. New clients bootstrap from
    +// the counterparty at --height (default: head).
    +func besuQBFTParams(
    +	ctx context.Context,
    +	counterpartyRouter string,
    +	flags *pflag.FlagSet,
    +	counterpartyTarget deploy.Target,
    +	chainID, counterpartyChainID, clientID string,
    +) (deploy.BesuQBFTParams, error) {
    +	trustingPeriod, err := wholeSeconds(flagDeployTrustingPeriod, flagNameTrustingPeriod)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
     	}
    -	switch flagDeployClientType {
    -	case deploy.ClientTypeAttestation:
    -		spec.Params = deploy.AttestationParams{
    -			Attestors:        attestors,
    -			Threshold:        flagDeployThreshold,
    -			InitialHeight:    height,
    -			InitialTimestamp: timestamp,
    +	if flags.Changed(flagNameTrustingPeriod) && trustingPeriod == 0 {
    +		return deploy.BesuQBFTParams{}, errors.New("--trusting-period must be positive")
    +	}
    +	maxClockDrift, err := wholeSeconds(flagDeployMaxClockDrift, flagNameMaxClockDrift)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	recorded, ok, err := recordedClient(chainID, clientID)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	if ok && recorded.Type == deploy.ClientTypeBesuQBFT {
    +		params, decodeErr := deploy.BesuQBFTParamsFromClient(recorded)
    +		if decodeErr != nil {
    +			return deploy.BesuQBFTParams{}, decodeErr
     		}
    -	default:
    -		return deploy.ClientSpec{}, fmt.Errorf(
    -			"cannot construct client spec for unknown client type %s",
    -			flagDeployClientType,
    +		if flags.Changed(flagNameTrustingPeriod) {
    +			params.TrustingPeriod = trustingPeriod
    +		}
    +		if flags.Changed(flagNameMaxClockDrift) {
    +			params.MaxClockDrift = maxClockDrift
    +		}
    +		return params, nil
    +	}
    +	if !flags.Changed(flagNameTrustingPeriod) {
    +		return deploy.BesuQBFTParams{}, errors.New(
    +			"--trusting-period is required for a new besu-qbft client: choose a positive duration based on validator governance",
     		)
     	}
    -	return spec, nil
    +	source, ok := counterpartyTarget.(deploy.BesuQBFTSource)
    +	if !ok {
    +		return deploy.BesuQBFTParams{}, errors.Errorf(
    +			"counterparty chain %s cannot serve a besu-qbft trusted state", counterpartyChainID,
    +		)
    +	}
    +	if !common.IsHexAddress(counterpartyRouter) || common.HexToAddress(counterpartyRouter) == (common.Address{}) {
    +		return deploy.BesuQBFTParams{}, errors.Errorf(
    +			"counterparty chain %s needs a valid nonzero evm.ics26Router in config", counterpartyChainID,
    +		)
    +	}
    +	height := flagDeployHeight
    +	if height == 0 {
    +		head, _, headErr := counterpartyTarget.Head(ctx)
    +		if headErr != nil {
    +			return deploy.BesuQBFTParams{}, errors.Wrap(headErr, "fetch counterparty head for initial trusted state")
    +		}
    +		height = max(head, 1)

    why are we doing this, if height is still zero, there is clearly something wrong and we should just return an error

    srdtrk srdtrk commented on code on Sep 22, 2026 08:14 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -309,27 +359,122 @@ func clientSpec(
     			timestamp = ts
     		}
     	}
    -	spec := deploy.ClientSpec{
    -		ClientID:             clientID,
    -		Type:                 flagDeployClientType,
    -		CounterpartyChainID:  counterpartyChainID,
    -		CounterpartyClientID: counterpartyClientID,
    +	return deploy.AttestationParams{
    +		Attestors:        attestors,
    +		Threshold:        flagDeployThreshold,
    +		InitialHeight:    height,
    +		InitialTimestamp: timestamp,
    +	}, nil
    +}
    +
    +// besuQBFTParams reuses recorded bootstrap state on reruns, while preserving
    +// explicit trust settings for conflict detection. New clients bootstrap from
    +// the counterparty at --height (default: head).
    +func besuQBFTParams(
    +	ctx context.Context,
    +	counterpartyRouter string,
    +	flags *pflag.FlagSet,
    +	counterpartyTarget deploy.Target,
    +	chainID, counterpartyChainID, clientID string,
    +) (deploy.BesuQBFTParams, error) {
    +	trustingPeriod, err := wholeSeconds(flagDeployTrustingPeriod, flagNameTrustingPeriod)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
     	}
    -	switch flagDeployClientType {
    -	case deploy.ClientTypeAttestation:
    -		spec.Params = deploy.AttestationParams{
    -			Attestors:        attestors,
    -			Threshold:        flagDeployThreshold,
    -			InitialHeight:    height,
    -			InitialTimestamp: timestamp,
    +	if flags.Changed(flagNameTrustingPeriod) && trustingPeriod == 0 {
    +		return deploy.BesuQBFTParams{}, errors.New("--trusting-period must be positive")
    +	}
    +	maxClockDrift, err := wholeSeconds(flagDeployMaxClockDrift, flagNameMaxClockDrift)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	recorded, ok, err := recordedClient(chainID, clientID)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	if ok && recorded.Type == deploy.ClientTypeBesuQBFT {
    +		params, decodeErr := deploy.BesuQBFTParamsFromClient(recorded)
    +		if decodeErr != nil {
    +			return deploy.BesuQBFTParams{}, decodeErr
     		}
    -	default:
    -		return deploy.ClientSpec{}, fmt.Errorf(
    -			"cannot construct client spec for unknown client type %s",
    -			flagDeployClientType,
    +		if flags.Changed(flagNameTrustingPeriod) {
    +			params.TrustingPeriod = trustingPeriod
    +		}
    +		if flags.Changed(flagNameMaxClockDrift) {
    +			params.MaxClockDrift = maxClockDrift
    +		}
    +		return params, nil
    +	}
    +	if !flags.Changed(flagNameTrustingPeriod) {
    +		return deploy.BesuQBFTParams{}, errors.New(
    +			"--trusting-period is required for a new besu-qbft client: choose a positive duration based on validator governance",
     		)
     	}

    unlike what is happening in ClientTypeAttestation case, you are not checking flags.Changed(flagNameTrustingPeriod) && trustingPeriod == 0

    srdtrk srdtrk commented on code on Sep 22, 2026 08:15 UTC
    Code Review
    cli/cmd/ibc/deploy.go:1
    @@ -309,27 +359,122 @@ func clientSpec(
     			timestamp = ts
     		}
     	}
    -	spec := deploy.ClientSpec{
    -		ClientID:             clientID,
    -		Type:                 flagDeployClientType,
    -		CounterpartyChainID:  counterpartyChainID,
    -		CounterpartyClientID: counterpartyClientID,
    +	return deploy.AttestationParams{
    +		Attestors:        attestors,
    +		Threshold:        flagDeployThreshold,
    +		InitialHeight:    height,
    +		InitialTimestamp: timestamp,
    +	}, nil
    +}
    +
    +// besuQBFTParams reuses recorded bootstrap state on reruns, while preserving
    +// explicit trust settings for conflict detection. New clients bootstrap from
    +// the counterparty at --height (default: head).
    +func besuQBFTParams(
    +	ctx context.Context,
    +	counterpartyRouter string,
    +	flags *pflag.FlagSet,
    +	counterpartyTarget deploy.Target,
    +	chainID, counterpartyChainID, clientID string,
    +) (deploy.BesuQBFTParams, error) {
    +	trustingPeriod, err := wholeSeconds(flagDeployTrustingPeriod, flagNameTrustingPeriod)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
     	}
    -	switch flagDeployClientType {
    -	case deploy.ClientTypeAttestation:
    -		spec.Params = deploy.AttestationParams{
    -			Attestors:        attestors,
    -			Threshold:        flagDeployThreshold,
    -			InitialHeight:    height,
    -			InitialTimestamp: timestamp,
    +	if flags.Changed(flagNameTrustingPeriod) && trustingPeriod == 0 {
    +		return deploy.BesuQBFTParams{}, errors.New("--trusting-period must be positive")
    +	}
    +	maxClockDrift, err := wholeSeconds(flagDeployMaxClockDrift, flagNameMaxClockDrift)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	recorded, ok, err := recordedClient(chainID, clientID)
    +	if err != nil {
    +		return deploy.BesuQBFTParams{}, err
    +	}
    +	if ok && recorded.Type == deploy.ClientTypeBesuQBFT {
    +		params, decodeErr := deploy.BesuQBFTParamsFromClient(recorded)
    +		if decodeErr != nil {
    +			return deploy.BesuQBFTParams{}, decodeErr
     		}
    -	default:
    -		return deploy.ClientSpec{}, fmt.Errorf(
    -			"cannot construct client spec for unknown client type %s",
    -			flagDeployClientType,
    +		if flags.Changed(flagNameTrustingPeriod) {
    +			params.TrustingPeriod = trustingPeriod
    +		}
    +		if flags.Changed(flagNameMaxClockDrift) {
    +			params.MaxClockDrift = maxClockDrift
    +		}
    +		return params, nil
    +	}
    +	if !flags.Changed(flagNameTrustingPeriod) {
    +		return deploy.BesuQBFTParams{}, errors.New(
    +			"--trusting-period is required for a new besu-qbft client: choose a positive duration based on validator governance",
     		)
     	}
    -	return spec, nil
    +	source, ok := counterpartyTarget.(deploy.BesuQBFTSource)
    +	if !ok {
    +		return deploy.BesuQBFTParams{}, errors.Errorf(
    +			"counterparty chain %s cannot serve a besu-qbft trusted state", counterpartyChainID,
    +		)
    +	}
    +	if !common.IsHexAddress(counterpartyRouter) || common.HexToAddress(counterpartyRouter) == (common.Address{}) {

    I believe there is an IsZero function rather than having to check equality.

    srdtrk srdtrk requested changes on Sep 22, 2026 10:07 UTC
    Changes Requested Reviewer

    did my second pass

    github-actions[bot] github-actions[bot] commented on Sep 25, 2026 13:13 UTC
    Bot

    <!-- capslock-diff:cli -->

    Capslock capability diff: cli

  • Base: main (ed1174bf720334a9253d79dc411b7c6270eb71f1)

  • Baseline: capslock-v0.3.3-Linux-cli-main-ed1174bf720334a9253d79dc411b7c6270eb71f1

  • New high-signal capabilities (EXEC / NETWORK / FILES / SYSTEM_CALLS / ARBITRARY_EXECUTION / MODIFY_SYSTEM_STATE): 36

  • Likely package moves: 0, lower signal: 35, no longer present: 0
  • :rotating_light: Review closely: 36 new high-signal capability use(s)

    A dependency gaining one of these without a matching change in what it does is the
    signature of a compromised release. Read each call path before merging.

  • github.com/cosmos/ibc/cli/besu gained ARBITRARY_EXECUTION
  •                           github.com/cosmos/ibc/cli/besu.init
                              github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26           github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12          github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20           (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21        (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24   (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26  (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:217:24        github.com/pion/stun/v3.Build
    helpers.go:86:19          (*github.com/pion/stun/v3.Message).Build
    helpers.go:43:20          (github.com/pion/stun/v3.MessageIntegrity).AddTo
    integrity.go:79:14        github.com/pion/stun/v3.newHMAC
    integrity.go:48:16        (*github.com/pion/stun/v3/internal/hmac.hmac).Sum
    hmac.go:64:16             (*github.com/ethereum/go-ethereum/crypto/keccak.state).Write
    sha3.go:129:13            (*github.com/ethereum/go-ethereum/crypto/keccak.state).permute
    sha3.go:86:13             github.com/ethereum/go-ethereum/crypto/keccak.keccakF1600
    

  • github.com/cosmos/ibc/cli/besu/besutest gained ARBITRARY_EXECUTION
  •                    github.com/cosmos/ibc/cli/besu/besutest.HashConsensusState
    fixture.go:132:29  github.com/ethereum/go-ethereum/crypto.Keccak256Hash
    keccak.go:60:8     (*github.com/ethereum/go-ethereum/crypto/keccak.state).Read
    sha3.go:149:13     (*github.com/ethereum/go-ethereum/crypto/keccak.state).permute
    sha3.go:86:13      github.com/ethereum/go-ethereum/crypto/keccak.keccakF1600
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained ARBITRARY_EXECUTION
  •                       github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40    (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:38:36         github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*github.com/klauspost/compress/zstd.pooledZipReader).Read
    zip.go:67:24          (*github.com/klauspost/compress/zstd.Decoder).Read
    decoder.go:140:19     (*github.com/klauspost/compress/zstd.Decoder).nextBlock
    decoder.go:458:60     github.com/klauspost/compress/zstd/internal/xxhash.Sum64
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained ARBITRARY_EXECUTION
  •                       github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:80:42     (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.MetaData).ParseABI
    base.go:122:28        github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*github.com/klauspost/compress/zstd.pooledZipReader).Read
    zip.go:67:24          (*github.com/klauspost/compress/zstd.Decoder).Read
    decoder.go:140:19     (*github.com/klauspost/compress/zstd.Decoder).nextBlock
    decoder.go:458:60     github.com/klauspost/compress/zstd/internal/xxhash.Sum64
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained ARBITRARY_EXECUTION
  •                       github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*github.com/klauspost/compress/zstd.pooledZipReader).Read
    zip.go:67:24          (*github.com/klauspost/compress/zstd.Decoder).Read
    decoder.go:140:19     (*github.com/klauspost/compress/zstd.Decoder).nextBlock
    decoder.go:458:60     github.com/klauspost/compress/zstd/internal/xxhash.Sum64
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained EXEC
  •                      github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.init
                         github.com/cosmos/ibc-go/v11/modules/core/04-channel/v2/types.init
                         github.com/cosmos/ibc-go/v11/modules/core/02-client/types.init
                         github.com/cosmos/cosmos-sdk/runtime.init
                         github.com/cosmos/cosmos-sdk/client.init
                         github.com/cosmos/cosmos-sdk/crypto/keyring.init
                         github.com/99designs/keyring.init
                         github.com/99designs/keyring.init#3
    kwallet.go:24:27     github.com/godbus/dbus.SessionBus
    conn.go:63:31        github.com/godbus/dbus.SessionBusPrivate
    conn.go:92:38        github.com/godbus/dbus.getSessionBusAddress
    conn.go:87:37        github.com/godbus/dbus.getSessionBusPlatformAddress
    conn_other.go:20:20  os/exec.Command
    

  • github.com/cosmos/ibc/cli/besu gained FILES
  •                           github.com/cosmos/ibc/cli/besu.init
                              github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26           github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12          github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20           (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21        (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24   (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26  (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:230:26        (*github.com/pion/turn/v4.Client).WriteTo
    client.go:162:23          (*github.com/pion/turn/v4.STUNConn).WriteTo
    stun_conn.go:97:25        (*net/http/httputil.dumpConn).Write
                              (*io.multiWriter).Write
    multi.go:85:19            (*os.File).Write
    

  • github.com/cosmos/ibc/cli/besu/besutest gained FILES
  •                     github.com/cosmos/ibc/cli/besu/besutest.init
                        github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26     github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12    github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20     (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21  (*os.File).Write
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained FILES
  •                      github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40   (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:31:44        (*github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/ics26router.ContractCaller).GetClient
    contract.go:335:32   (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).Call
    base.go:172:23       (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).call
    base.go:239:38       (*github.com/ethereum/go-ethereum/ethclient.Client).CallContract
    ethclient.go:575:25  (*github.com/ethereum/go-ethereum/rpc.Client).CallContext
    client.go:351:19     (*github.com/ethereum/go-ethereum/rpc.Client).sendHTTP
    http.go:195:2        github.com/ethereum/go-ethereum/rpc.cleanlyCloseBody
    http.go:186:19       (*os.File).Close
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained FILES
  •                       github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:80:42     (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.MetaData).ParseABI
    base.go:122:28        github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*os.File).Read
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained FILES
  •                       github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*os.File).Read
    

  • github.com/cosmos/ibc/cli/besu gained MODIFY_SYSTEM_STATE/ENV
  •                                  github.com/cosmos/ibc/cli/besu.init
                                     github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26                  github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12                 github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20                  (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21               (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24          (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26         (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:212:4                (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1
    udp_conn.go:201:5                (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1$1
    udp_conn.go:204:18               (github.com/libp2p/go-libp2p/p2p/transport/webrtc.pionLogger).Warnf
    logger.go:66:17                  (*log/slog.Logger).Debug
    logger.go:199:7                  (*log/slog.Logger).log
    logger.go:256:24                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cometbft/cometbft/libs/cli.PrepareBaseCmd$1
    setup.go:29:37                   github.com/cometbft/cometbft/libs/cli.initEnv
    setup.go:49:13                   github.com/cometbft/cometbft/libs/cli.copyEnvVars
    setup.go:68:14                   os.Setenv
    

  • github.com/cosmos/ibc/cli/besu/besutest gained MODIFY_SYSTEM_STATE/ENV
  •                                  github.com/cosmos/ibc/cli/besu/besutest.init
                                     github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26                  github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12                 github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20                  (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21               (*github.com/quic-go/quic-go/http3.responseWriter).Write
    response_writer.go:139:16        (*github.com/quic-go/quic-go/http3.responseWriter).WriteHeader
    response_writer.go:117:16        (*log/slog.Logger).Error
    logger.go:229:7                  (*log/slog.Logger).log
    logger.go:256:24                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cometbft/cometbft/libs/cli.PrepareBaseCmd$1
    setup.go:29:37                   github.com/cometbft/cometbft/libs/cli.initEnv
    setup.go:49:13                   github.com/cometbft/cometbft/libs/cli.copyEnvVars
    setup.go:68:14                   os.Setenv
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained MODIFY_SYSTEM_STATE/ENV
  •                                  github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40               (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:31:44                    (*github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/ics26router.ContractCaller).GetClient
    contract.go:335:32               (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).Call
    base.go:172:23                   (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).call
    base.go:239:38                   (*github.com/ethereum/go-ethereum/ethclient.Client).CallContract
    ethclient.go:575:25              (*github.com/ethereum/go-ethereum/rpc.Client).CallContext
    client.go:353:15                 (*github.com/ethereum/go-ethereum/rpc.Client).send
    client.go:561:17                 (*github.com/ethereum/go-ethereum/rpc.Client).write
    client.go:591:24                 (*github.com/ethereum/go-ethereum/rpc.Client).reconnect
    client.go:633:12                 github.com/ethereum/go-ethereum/log.Trace
    root.go:51:14                    (*github.com/ethereum/go-ethereum/log.logger).Write
    logger.go:173:26                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cometbft/cometbft/libs/cli.PrepareBaseCmd$1
    setup.go:29:37                   github.com/cometbft/cometbft/libs/cli.initEnv
    setup.go:49:13                   github.com/cometbft/cometbft/libs/cli.copyEnvVars
    setup.go:68:14                   os.Setenv
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained MODIFY_SYSTEM_STATE/ENV
  •                                  github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44             github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:80:42                (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.MetaData).ParseABI
    base.go:122:28                   github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                     (*encoding/json.Decoder).Decode
    stream.go:65:25                  (*encoding/json.Decoder).readValue
    stream.go:142:19                 (*encoding/json.Decoder).refill
    stream.go:167:22                 (*crypto/tls.Conn).Read
    conn.go:1397:42                  (*crypto/tls.Conn).handlePostHandshakeMessage
    conn.go:1307:31                  (*crypto/tls.Conn).handleRenegotiation
    conn.go:1297:39                  (*crypto/tls.Conn).clientHandshake
    handshake_client.go:349:21       (*crypto/tls.clientHandshakeState).handshake
    handshake_client.go:600:31       (*crypto/tls.clientHandshakeState).doFullHandshake
    handshake_client.go:839:40       (crypto/ed25519.PrivateKey).Sign
    ed25519.go:120:22                crypto/internal/fips140/ed25519.Sign
    ed25519.go:170:13                crypto/internal/fips140/ed25519.sign
    ed25519.go:174:14                sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cometbft/cometbft/libs/cli.PrepareBaseCmd$1
    setup.go:29:37                   github.com/cometbft/cometbft/libs/cli.initEnv
    setup.go:49:13                   github.com/cometbft/cometbft/libs/cli.copyEnvVars
    setup.go:68:14                   os.Setenv
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained MODIFY_SYSTEM_STATE/ENV
  •                                  github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48             github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31               github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40               (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28                    github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                     (*encoding/json.Decoder).Decode
    stream.go:65:25                  (*encoding/json.Decoder).readValue
    stream.go:142:19                 (*encoding/json.Decoder).refill
    stream.go:167:22                 (*crypto/tls.Conn).Read
    conn.go:1397:42                  (*crypto/tls.Conn).handlePostHandshakeMessage
    conn.go:1307:31                  (*crypto/tls.Conn).handleRenegotiation
    conn.go:1297:39                  (*crypto/tls.Conn).clientHandshake
    handshake_client.go:349:21       (*crypto/tls.clientHandshakeState).handshake
    handshake_client.go:600:31       (*crypto/tls.clientHandshakeState).doFullHandshake
    handshake_client.go:839:40       (crypto/ed25519.PrivateKey).Sign
    ed25519.go:120:22                crypto/internal/fips140/ed25519.Sign
    ed25519.go:170:13                crypto/internal/fips140/ed25519.sign
    ed25519.go:174:14                sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cometbft/cometbft/libs/cli.PrepareBaseCmd$1
    setup.go:29:37                   github.com/cometbft/cometbft/libs/cli.initEnv
    setup.go:49:13                   github.com/cometbft/cometbft/libs/cli.copyEnvVars
    setup.go:68:14                   os.Setenv
    

  • github.com/cosmos/ibc/cli/besu gained MODIFY_SYSTEM_STATE/LOGGING
  •                                  github.com/cosmos/ibc/cli/besu.init
                                     github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26                  github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12                 github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20                  (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21               (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24          (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26         (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:212:4                (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1
    udp_conn.go:201:5                (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1$1
    udp_conn.go:204:18               (github.com/libp2p/go-libp2p/p2p/transport/webrtc.pionLogger).Warnf
    logger.go:66:17                  (*log/slog.Logger).Debug
    logger.go:199:7                  (*log/slog.Logger).log
    logger.go:256:24                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cosmos/ibc/cli/cmd/ibc.init#1$1
    main.go:48:18                    log/slog.SetDefault
    logger.go:73:15                  log.SetFlags
    

  • github.com/cosmos/ibc/cli/besu/besutest gained MODIFY_SYSTEM_STATE/LOGGING
  •                                  github.com/cosmos/ibc/cli/besu/besutest.init
                                     github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26                  github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12                 github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20                  (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21               (*github.com/quic-go/quic-go/http3.responseWriter).Write
    response_writer.go:139:16        (*github.com/quic-go/quic-go/http3.responseWriter).WriteHeader
    response_writer.go:117:16        (*log/slog.Logger).Error
    logger.go:229:7                  (*log/slog.Logger).log
    logger.go:256:24                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cosmos/ibc/cli/cmd/ibc.init#1$1
    main.go:48:18                    log/slog.SetDefault
    logger.go:73:15                  log.SetFlags
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained MODIFY_SYSTEM_STATE/LOGGING
  •                                  github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40               (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:31:44                    (*github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/ics26router.ContractCaller).GetClient
    contract.go:335:32               (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).Call
    base.go:172:23                   (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).call
    base.go:239:38                   (*github.com/ethereum/go-ethereum/ethclient.Client).CallContract
    ethclient.go:575:25              (*github.com/ethereum/go-ethereum/rpc.Client).CallContext
    client.go:353:15                 (*github.com/ethereum/go-ethereum/rpc.Client).send
    client.go:561:17                 (*github.com/ethereum/go-ethereum/rpc.Client).write
    client.go:591:24                 (*github.com/ethereum/go-ethereum/rpc.Client).reconnect
    client.go:633:12                 github.com/ethereum/go-ethereum/log.Trace
    root.go:51:14                    (*github.com/ethereum/go-ethereum/log.logger).Write
    logger.go:173:26                 (*go.opentelemetry.io/contrib/bridges/otelslog.Handler).Handle
    handler.go:194:15                (*go.opentelemetry.io/otel/sdk/log.logger).Emit
    logger.go:56:26                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord
    logger.go:120:18                 (*go.opentelemetry.io/otel/log.Record).WalkAttributes
    record.go:128:8                  (*go.opentelemetry.io/otel/sdk/log.logger).newRecord$1
    logger.go:125:26                 (*go.opentelemetry.io/otel/sdk/log.Record).AddAttributes
    record.go:238:27                 sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cosmos/ibc/cli/cmd/ibc.init#1$1
    main.go:48:18                    log/slog.SetDefault
    logger.go:73:15                  log.SetFlags
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained MODIFY_SYSTEM_STATE/LOGGING
  •                                  github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44             github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:80:42                (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.MetaData).ParseABI
    base.go:122:28                   github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                     (*encoding/json.Decoder).Decode
    stream.go:65:25                  (*encoding/json.Decoder).readValue
    stream.go:142:19                 (*encoding/json.Decoder).refill
    stream.go:167:22                 (*crypto/tls.Conn).Read
    conn.go:1397:42                  (*crypto/tls.Conn).handlePostHandshakeMessage
    conn.go:1307:31                  (*crypto/tls.Conn).handleRenegotiation
    conn.go:1297:39                  (*crypto/tls.Conn).clientHandshake
    handshake_client.go:349:21       (*crypto/tls.clientHandshakeState).handshake
    handshake_client.go:600:31       (*crypto/tls.clientHandshakeState).doFullHandshake
    handshake_client.go:839:40       (crypto/ed25519.PrivateKey).Sign
    ed25519.go:120:22                crypto/internal/fips140/ed25519.Sign
    ed25519.go:170:13                crypto/internal/fips140/ed25519.sign
    ed25519.go:174:14                sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cosmos/ibc/cli/cmd/ibc.init#1$1
    main.go:48:18                    log/slog.SetDefault
    logger.go:73:15                  log.SetFlags
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained MODIFY_SYSTEM_STATE/LOGGING
  •                                  github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48             github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31               github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40               (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28                    github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                     (*encoding/json.Decoder).Decode
    stream.go:65:25                  (*encoding/json.Decoder).readValue
    stream.go:142:19                 (*encoding/json.Decoder).refill
    stream.go:167:22                 (*crypto/tls.Conn).Read
    conn.go:1397:42                  (*crypto/tls.Conn).handlePostHandshakeMessage
    conn.go:1307:31                  (*crypto/tls.Conn).handleRenegotiation
    conn.go:1297:39                  (*crypto/tls.Conn).clientHandshake
    handshake_client.go:349:21       (*crypto/tls.clientHandshakeState).handshake
    handshake_client.go:600:31       (*crypto/tls.clientHandshakeState).doFullHandshake
    handshake_client.go:839:40       (crypto/ed25519.PrivateKey).Sign
    ed25519.go:120:22                crypto/internal/fips140/ed25519.Sign
    ed25519.go:170:13                crypto/internal/fips140/ed25519.sign
    ed25519.go:174:14                sync.OnceFunc$1
                                     sync.OnceFunc$1$1
    oncefunc.go:33:7                 google.golang.org/grpc/internal/stats.defaultCleanUp$1
    metrics_recorder_list.go:153:14  github.com/cosmos/ibc/cli/cmd/ibc.init#1$1
    main.go:48:18                    log/slog.SetDefault
    logger.go:73:15                  log.SetFlags
    

  • github.com/cosmos/ibc/cli/besu gained MODIFY_SYSTEM_STATE/SIGNALS
  •                             github.com/cosmos/ibc/cli/besu.init
                                github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26             github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12            github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20             (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21          (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24     (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26    (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:230:26          (*github.com/pion/turn/v4.Client).WriteTo
    client.go:162:23            (*github.com/pion/turn/v4.STUNConn).WriteTo
    stun_conn.go:97:25          (*crypto/tls.Conn).Write
    conn.go:1215:23             (*crypto/tls.Conn).Handshake
    conn.go:1500:27             (*crypto/tls.Conn).HandshakeContext
    conn.go:1516:27             (*crypto/tls.Conn).handshakeContext
    conn.go:1562:32             (*crypto/tls.Conn).clientHandshake$bound
                                (*crypto/tls.Conn).clientHandshake
    handshake_client.go:267:63  (os/signal.signalError).Error
    

  • github.com/cosmos/ibc/cli/besu/besutest gained MODIFY_SYSTEM_STATE/SIGNALS
  •                    github.com/cosmos/ibc/cli/besu/besutest.init
    fixture.go:32:43   github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:82:47  (os/signal.signalError).Error
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained MODIFY_SYSTEM_STATE/SIGNALS
  •                       github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40    (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:38:36         github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.wrappedBody).Read
    transport.go:251:43   (os/signal.signalError).Error
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained MODIFY_SYSTEM_STATE/SIGNALS
  •                       github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:82:47     (os/signal.signalError).Error
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained MODIFY_SYSTEM_STATE/SIGNALS
  •                       github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.wrappedBody).Read
    transport.go:251:43   (os/signal.signalError).Error
    

  • github.com/cosmos/ibc/cli/besu gained NETWORK
  •                      github.com/cosmos/ibc/cli/besu.init
                         github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26      github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12     github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20      (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21   (*github.com/pion/transport/v2/udp.Conn).Write
    conn.go:347:33       (*github.com/pion/transport/v2/udp.BatchConn).WriteTo
    batchconn.go:112:25  (*github.com/pion/transport/v2/udp.BatchConn).enqueueMessage
    batchconn.go:137:16  (*github.com/pion/transport/v2/udp.BatchConn).flush
    batchconn.go:160:35  (*golang.org/x/net/ipv6.PacketConn).WriteBatch
                         (*golang.org/x/net/ipv6.payloadHandler).WriteBatch
    batch.go:104:63      (*net.UDPConn).LocalAddr
                         (*net.conn).LocalAddr
    

  • github.com/cosmos/ibc/cli/besu/besutest gained NETWORK
  •                    github.com/cosmos/ibc/cli/besu/besutest.init
    fixture.go:32:43   github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:82:47  (github.com/cometbft/cometbft/p2p.ErrRejected).Error
    errors.go:45:22    (*net.pipe).RemoteAddr
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained NETWORK
  •                      github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40   (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:31:44        (*github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/ics26router.ContractCaller).GetClient
    contract.go:335:32   (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).Call
    base.go:172:23       (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).call
    base.go:239:38       (*github.com/ethereum/go-ethereum/ethclient.Client).CallContract
    ethclient.go:575:25  (*github.com/ethereum/go-ethereum/rpc.Client).CallContext
    client.go:351:19     (*github.com/ethereum/go-ethereum/rpc.Client).sendHTTP
    http.go:191:31       (*github.com/ethereum/go-ethereum/rpc.httpConn).doRequest
    http.go:223:40       net/http.NewRequestWithContext
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained NETWORK
  •                       github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:82:47     (github.com/cometbft/cometbft/p2p.ErrRejected).Error
    errors.go:45:22       (*net.pipe).RemoteAddr
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained NETWORK
  •                       github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48  github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31    github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40    (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28         github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22          (*encoding/json.Decoder).Decode
    stream.go:65:25       (*encoding/json.Decoder).readValue
    stream.go:142:19      (*encoding/json.Decoder).refill
    stream.go:167:22      (*net.pipe).Read
    

  • github.com/cosmos/ibc/cli/besu gained SYSTEM_CALLS
  •                           github.com/cosmos/ibc/cli/besu.init
                              github.com/ethereum/go-ethereum/core/types.init
    hashes.go:29:26           github.com/ethereum/go-ethereum/core/types.rlpHash
    hashing.go:61:12          github.com/ethereum/go-ethereum/rlp.Encode
    encode.go:73:20           (*github.com/ethereum/go-ethereum/rlp.encBuffer).writeTo
    encbuffer.go:88:21        (*github.com/pion/ice/v4.CandidatePair).Write
    candidatepair.go:124:24   (*github.com/pion/ice/v4.candidateBase).writeTo
    candidate_base.go:357:26  (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo
    udp_conn.go:212:4         (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1
    udp_conn.go:201:5         (*github.com/pion/turn/v4/internal/client.UDPConn).WriteTo$1$1
    udp_conn.go:204:18        (github.com/libp2p/go-libp2p/p2p/transport/webrtc.pionLogger).Warnf
    logger.go:66:17           (*log/slog.Logger).Debug
    logger.go:199:7           (*log/slog.Logger).log
    logger.go:256:24          (*github.com/rs/zerolog.SlogHandler).Handle
    slog.go:71:11             (*github.com/rs/zerolog.Event).Msg
    event.go:119:7            (*github.com/rs/zerolog.Event).msg
    event.go:160:19           (*github.com/rs/zerolog.Event).write
    event.go:89:27            (github.com/rs/zerolog.LevelWriterAdapter).WriteLevel
    writer.go:27:17           (github.com/rs/zerolog.ConsoleWriter).Write
    console.go:172:22         (*bytes.Buffer).WriteTo
    buffer.go:279:18          (*github.com/cockroachdb/pebble/vfs.syncingFile).Write
    syncing_file.go:61:19     (*github.com/cockroachdb/pebble/vfs.syncingFile).preallocate
    syncing_file.go:89:22     (*github.com/cockroachdb/pebble/vfs.linuxFile).Preallocate
    default_linux.go:61:23    golang.org/x/sys/unix.Fallocate
    

  • github.com/cosmos/ibc/cli/besu/besutest gained SYSTEM_CALLS
  •                          github.com/cosmos/ibc/cli/besu/besutest.init
                             github.com/cosmos/ibc/cli/besu.init
                             github.com/ethereum/go-ethereum/accounts/abi/bind.init
                             github.com/ethereum/go-ethereum/accounts/external.init
                             github.com/ethereum/go-ethereum/rpc.init
                             github.com/ethereum/go-ethereum/metrics.init
                             github.com/shirou/gopsutil/cpu.init
                             github.com/shirou/gopsutil/cpu.init#2
    cpu_linux.go:20:32       github.com/tklauser/go-sysconf.Sysconf
    sysconf.go:20:16         github.com/tklauser/go-sysconf.sysconf
    sysconf_linux.go:158:27  golang.org/x/sys/unix.Getrlimit
    

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained SYSTEM_CALLS
  •                         github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft.NewGenerator
    generator.go:50:40      (*github.com/cosmos/ibc/cli/internal/chains/evm.Client).BesuQBFTClientState
    besu.go:31:44           (*github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/ics26router.ContractCaller).GetClient
    contract.go:335:32      (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).Call
    base.go:172:23          (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.BoundContract).call
    base.go:239:38          (*github.com/ethereum/go-ethereum/ethclient.Client).CallContract
    ethclient.go:575:25     (*github.com/ethereum/go-ethereum/rpc.Client).CallContext
    client.go:353:15        (*github.com/ethereum/go-ethereum/rpc.Client).send
    client.go:561:17        (*github.com/ethereum/go-ethereum/rpc.Client).write
    client.go:591:24        (*github.com/ethereum/go-ethereum/rpc.Client).reconnect
    client.go:629:3         context.WithCancel$1
    context.go:242:29       (*context.cancelCtx).cancel
    context.go:571:15       (*context.afterFuncCtx).cancel
                            (*context.afterFuncCtx).cancel$1
    context.go:358:3        (*github.com/quic-go/webtransport-go.Dialer).Dial$2
    client.go:141:11        (*github.com/quic-go/quic-go/http3.Transport).Close
    transport.go:484:30     (*github.com/quic-go/quic-go.Transport).Close
    transport.go:462:8      (*github.com/quic-go/quic-go.Transport).init
                            (*github.com/quic-go/quic-go.Transport).init$1
    transport.go:427:3      (*github.com/quic-go/quic-go.Transport).runSendQueue
    transport.go:446:22     (*github.com/quic-go/quic-go.oobConn).WritePacket
    sys_conn_oob.go:261:27  github.com/quic-go/quic-go.appendIPv4ECNMsg
    sys_conn_oob.go:317:23  golang.org/x/sys/unix.CmsgLen
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained SYSTEM_CALLS
  •                              github.com/cosmos/ibc/cli/besu.init
    lightclient.go:18:44         github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs.NewBindings
    bindings.go:80:42            (*github.com/ethereum/go-ethereum/accounts/abi/bind/v2.MetaData).ParseABI
    base.go:122:28               github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                 (*encoding/json.Decoder).Decode
    stream.go:65:25              (*encoding/json.Decoder).readValue
    stream.go:142:19             (*encoding/json.Decoder).refill
    stream.go:167:22             (*github.com/improbable-eng/grpc-web/go/grpcweb.webSocketWrappedReader).Read
    websocket_wrapper.go:168:11  context.WithCancel$1
    context.go:242:29            (*context.cancelCtx).cancel
    context.go:571:15            (*context.afterFuncCtx).cancel
                                 (*context.afterFuncCtx).cancel$1
    context.go:358:3             (*github.com/quic-go/webtransport-go.Dialer).Dial$2
    client.go:141:11             (*github.com/quic-go/quic-go/http3.Transport).Close
    transport.go:484:30          (*github.com/quic-go/quic-go.Transport).Close
    transport.go:462:8           (*github.com/quic-go/quic-go.Transport).init
                                 (*github.com/quic-go/quic-go.Transport).init$1
    transport.go:427:3           (*github.com/quic-go/quic-go.Transport).runSendQueue
    transport.go:446:22          (*github.com/quic-go/quic-go.oobConn).WritePacket
    sys_conn_oob.go:261:27       github.com/quic-go/quic-go.appendIPv4ECNMsg
    sys_conn_oob.go:317:23       golang.org/x/sys/unix.CmsgLen
    

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained SYSTEM_CALLS
  •                              github.com/cosmos/ibc/cli/besu.ReadClientState
    lightclient.go:58:48         github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.NewContractCaller
    contract.go:158:31           github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft.bindContract
    contract.go:185:40           (*github.com/ethereum/go-ethereum/accounts/abi/bind.MetaData).GetAbi
    old.go:266:28                github.com/ethereum/go-ethereum/accounts/abi.JSON
    abi.go:52:22                 (*encoding/json.Decoder).Decode
    stream.go:65:25              (*encoding/json.Decoder).readValue
    stream.go:142:19             (*encoding/json.Decoder).refill
    stream.go:167:22             (*github.com/improbable-eng/grpc-web/go/grpcweb.webSocketWrappedReader).Read
    websocket_wrapper.go:168:11  context.WithCancel$1
    context.go:242:29            (*context.cancelCtx).cancel
    context.go:571:15            (*context.afterFuncCtx).cancel
                                 (*context.afterFuncCtx).cancel$1
    context.go:358:3             (*github.com/quic-go/webtransport-go.Dialer).Dial$2
    client.go:141:11             (*github.com/quic-go/quic-go/http3.Transport).Close
    transport.go:484:30          (*github.com/quic-go/quic-go.Transport).Close
    transport.go:462:8           (*github.com/quic-go/quic-go.Transport).init
                                 (*github.com/quic-go/quic-go.Transport).init$1
    transport.go:427:3           (*github.com/quic-go/quic-go.Transport).runSendQueue
    transport.go:446:22          (*github.com/quic-go/quic-go.oobConn).WritePacket
    sys_conn_oob.go:261:27       github.com/quic-go/quic-go.appendIPv4ECNMsg
    sys_conn_oob.go:317:23       golang.org/x/sys/unix.CmsgLen
    

    Lower signal: 35 capability use(s)

    These describe the Capslock analysis more than they describe privilege.

  • github.com/cosmos/ibc/cli/besu gained CGO

  • github.com/cosmos/ibc/cli/besu/besutest gained CGO

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained CGO

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained CGO

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained CGO

  • github.com/cosmos/ibc/cli/besu gained OPERATING_SYSTEM

  • github.com/cosmos/ibc/cli/besu/besutest gained OPERATING_SYSTEM

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained OPERATING_SYSTEM

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained OPERATING_SYSTEM

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained OPERATING_SYSTEM

  • github.com/cosmos/ibc/cli/besu gained READ_SYSTEM_STATE

  • github.com/cosmos/ibc/cli/besu/besutest gained READ_SYSTEM_STATE

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained READ_SYSTEM_STATE

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained READ_SYSTEM_STATE

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained READ_SYSTEM_STATE

  • github.com/cosmos/ibc/cli/besu gained REFLECT

  • github.com/cosmos/ibc/cli/besu/besutest gained REFLECT

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained REFLECT

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained REFLECT

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained REFLECT

  • github.com/cosmos/ibc/cli/besu gained RUNTIME

  • github.com/cosmos/ibc/cli/besu/besutest gained RUNTIME

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained RUNTIME

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained RUNTIME

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained RUNTIME

  • github.com/cosmos/ibc/cli/besu gained UNANALYZED

  • github.com/cosmos/ibc/cli/besu/besutest gained UNANALYZED

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained UNANALYZED

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained UNANALYZED

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained UNANALYZED

  • github.com/cosmos/ibc/cli/besu gained UNSAFE_POINTER

  • github.com/cosmos/ibc/cli/besu/besutest gained UNSAFE_POINTER

  • github.com/cosmos/ibc/cli/internal/relay/prover/besuqbft gained UNSAFE_POINTER

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besumsgs gained UNSAFE_POINTER

  • github.com/cosmos/solidity-ibc-eureka/packages/go-abigen/besuqbft gained UNSAFE_POINTER
  • srdtrk srdtrk commented on Sep 28, 2026 14:48 UTC
    Reviewer

    Lgtm, left a couple nits

    github-actions[bot] github-actions[bot] commented on Sep 28, 2026 17:25 UTC
    Bot

    <!-- dependency-review:govulncheck -->

    Vulnerable dependencies

    1 advisory across 1 library need attention, 2 accepted.

    :rotating_light: Needs attention

    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc

    In use: v0.19.0 — reached from cli, e2e

    | Advisory | CVE | Fixed in | Summary |
    |---|---|---|---|
    | GO-2026-6508 | CVE-2026-81871 | v0.21.0 | OpenTelemetry-Go: Log gRPC exporter ignores env TLS certs, bypassing mTLS/pinning in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc |

    Run make vulncheck for the call paths. Either upgrade the library, or add the
    advisory to .govulncheck-ignore with a reason if no fix exists yet.

    Accepted

    Listed in .govulncheck-ignore with a reason.

    github.com/pion/dtls/v2

    In use: v2.2.12 — reached from cli, e2e

    | Advisory | CVE | Fixed in | Summary |
    |---|---|---|---|
    | GO-2026-4479 | CVE-2026-26014 | no fix yet | Usage of random nonce generation with AES GCM ciphers risks leaking the authentication key in github.com/pion/dtls |

    golang.org/x/crypto

    In use: v0.56.0 — reached from cli, e2e

    | Advisory | CVE | Fixed in | Summary |
    |---|---|---|---|
    | GO-2026-5932 | — | no fix yet | The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues |

    <sub>From make vulncheck-json on this run: logs.</sub>

    srdtrk srdtrk approved these changes on Sep 29, 2026 12:14 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    gjermundgaraba gjermundgaraba
    Labels
    risk: low confidence: 74.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 71.5% (HIGH) · Higher = larger blast radius
    71.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 74.5% · Lower = rushed or shallow review
    74.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.2% · Safe to merge
    18.2%
    Repository