Transaction

76193864E33FB4…A1C008E59E99

Block 447,179 · index 0 · indexed

Summary

Hash
76193864E33FB40B511A9BD5A96B48F29AE86213230BA5A5CC3AA1C008E59E99
Block
447,179
Size
5091 bytes
Gas used
50,313,261 / 74,993,350
Fee
82493ugnot
Memo
dogfooding: ten realms, real content
Status
success

Messages

#1Call Editgno.land/r/moul/x/wiki/v03 arguments
Attached funds
—
Function
Edit

Arguments · 3

  1. #1MsgCall argument types
  2. #2`MsgCall` encodes every argument as a string and converts it on the chain. That conversion covers the primitive types and **not** slices. A function whose exported signature takes `[]address`, `[]int` or any other slice cannot be reached from a wallet at all. The simulation does not report a polite error, it panics inside the VM: unexpected slice type in contract arg gno.land/pkg/sdk/vm/convert.go:223 The workaround at the call site is `MsgRun`, which is restricted on mainnet by the `run_submitters` parameter, so in practice it is not one. The workaround at the *design* site is the fix: take a delimited string and split it in the realm. Several realms in this namespace already do (`Init(proposalNamesCSV string)`, `Setup(ownersCSV string, thresholdN int)`), which is why they are callable and their slice-taking neighbours are not.
  3. #3seed: why a slice parameter makes an exported function unreachable

Result log

msg:0,success:true,log:,events:[]
msg:1,success:true,log:,events:[]
msg:2,success:true,log:,events:[]
msg:3,success:true,log:,events:[]
msg:4,success:true,log:,events:[]
msg:5,success:true,log:,events:[]
msg:6,success:true,log:,events:[]
msg:7,success:true,log:,events:[]
msg:8,success:true,log:,events:[]
msg:9,success:true,log:,events:[]
msg:10,success:true,log:,events:[]
msg:11,success:true,log:,events:[]
msg:12,success:true,log:,events:[]
msg:13,success:true,log:,events:[]
msg:14,success:true,log:,events:[]
msg:15,success:true,log:,events:[]
msg:16,success:true,log:,events:[]
msg:17,success:true,log:,events:[]
msg:18,success:true,log:,events:[]
msg:19,success:true,log:,events:[]
msg:20,success:true,log:,events:[]
msg:21,success:true,log:,events:[]
msg:22,success:true,log:,events:[]
msg:23,success:true,log:,events:[]

← Back to block 447,179