MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / Set

Method Set

x/params/subspace/subspace.go:117–143  ·  view source on GitHub ↗

Set parameter, return error if stored parameter has different type from input Also set to the transient store to record change

(ctx sdk.Context, key []byte, param interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SetParamSetMethod · 0.95

Calls 4

kvStoreMethod · 0.95
transientStoreMethod · 0.95
SetMethod · 0.65
MarshalJSONMethod · 0.45

Tested by

no test coverage detected