MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / ChainID

Method ChainID

light/rpc/client.go:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31//go:generate ../../scripts/mockery_generate.sh LightClient
32type LightClient interface {
33 ChainID() string
34 Update(ctx context.Context, now time.Time) (*types.LightBlock, error)
35 VerifyLightBlockAtHeight(ctx context.Context, height int64, now time.Time) (*types.LightBlock, error)
36 TrustedLightBlock(height int64) (*types.LightBlock, error)

Callers 15

StateMethod · 0.65
TestCommitToVoteSetFunction · 0.65
signAddVoteFunction · 0.65
loadEventSinksFunction · 0.65
ExampleClient_UpdateFunction · 0.65
randGenesisDocFunction · 0.65
TestReactorHelperModeFunction · 0.65
TestReactorSetSwitchNilFunction · 0.65

Implementers 2

Clientlight/client.go
LightClientlight/rpc/mocks/light_client.go

Calls

no outgoing calls

Tested by 15

TestCommitToVoteSetFunction · 0.52
ExampleClient_UpdateFunction · 0.52
randGenesisDocFunction · 0.52
TestReactorHelperModeFunction · 0.52
TestReactorSetSwitchNilFunction · 0.52
randGenesisDocFunction · 0.52
signVoteMethod · 0.52
randGenesisDocFunction · 0.52