Skip to content

Instantly share code, notes, and snippets.

@jcstein
Created April 19, 2024 00:43
Show Gist options
  • Save jcstein/2ca2a5d1b503b167099375e1d64b45f8 to your computer and use it in GitHub Desktop.
Save jcstein/2ca2a5d1b503b167099375e1d64b45f8 to your computer and use it in GitHub Desktop.
2024-04-18T20:42:09.140-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639315, "hash": "3814D708A07D4E0D8C79E9746E890CA7BD6A47FE530AA4CEBD7413C5A4EC2B7D", "square width": 64, "data root": "E5614F3603EE4756988131DC4C70D88CFEC8248768AA3AB2AEAB29B4A60E3238", "finished (s)": 0.000005333}
2024-04-18T20:42:12.629-0400 INFO bitswap-server server/server.go:547 Bitswap Client ReceiveError: stream reset
2024-04-18T20:42:21.209-0400 INFO header/store store/store.go:375 new head {"height": 1639316, "hash": "71B6A851ECAA30DB380D5F9CF8994DE9CCB279AF669C212CF17E55A3EBED92CC"}
2024-04-18T20:42:21.210-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639316, "hash": "71B6A851ECAA30DB380D5F9CF8994DE9CCB279AF669C212CF17E55A3EBED92CC", "square width": 64, "data root": "8193BF804F997D0AC790259F9195B57C72B457FE4DE49EDAFDD870BE9612F7A0", "finished (s)": 0.000019167}
goroutine 24761 [running]:
runtime/debug.Stack()
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/runtime/debug/stack.go:24 +0x64
runtime/debug.PrintStack()
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/runtime/debug/stack.go:16 +0x1c
github.com/cosmos/cosmos-sdk/codec/types.anyCompatError({0x102c073b7, 0xc}, {0x1040908c0, 0x14003d4db60})
/Users/joshstein/go/pkg/mod/github.com/celestiaorg/[email protected]/codec/types/compat.go:24 +0x3c
github.com/cosmos/cosmos-sdk/codec/types.(*Any).MarshalJSON(0x1056f00f0?)
/Users/joshstein/go/pkg/mod/github.com/celestiaorg/[email protected]/codec/types/compat.go:56 +0x5c
encoding/json.marshalerEncoder(0x140036d3cc0, {0x1040908c0?, 0x140035f8388?, 0x14004094690?}, {0x78?, 0x0?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:440 +0xc0
encoding/json.structEncoder.encode({{{0x140019d2908, 0xd, 0x10}, 0x14005aeb9e0, 0x14005aeba10}}, 0x140036d3cc0, {0x1040845a0?, 0x140035f8300?, 0x14000846d48?}, {0x0?, ...})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:704 +0x190
encoding/json.ptrEncoder.encode({0x14000846e38?}, 0x140036d3cc0, {0x104015ea0?, 0x140035f8300?, 0x14000846e48?}, {0x20?, 0x39?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:876 +0x1ec
encoding/json.(*encodeState).reflectValue(0x140036d3cc0, {0x104015ea0?, 0x140035f8300?, 0x1012297c0?}, {0xe8?, 0x6e?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:321 +0x70
encoding/json.interfaceEncoder(0x140036d3cc0, {0x103c413e0?, 0x14003c56010?, 0xda00000000000000?}, {0x4?, 0x0?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:658 +0xcc
encoding/json.structEncoder.encode({{{0x140013f8fc8, 0x4, 0x4}, 0x140042286c0, 0x14004228840}}, 0x140036d3cc0, {0x103ec4f80?, 0x14003c56000?, 0x14000847028?}, {0x30?, ...})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:704 +0x190
encoding/json.(*encodeState).reflectValue(0x140036d3cc0, {0x103ec4f80?, 0x14003c56000?, 0x6?}, {0x48?, 0xd?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:321 +0x70
encoding/json.(*encodeState).marshal(0x4?, {0x103ec4f80?, 0x14003c56000?}, {0x80?, 0xff?})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/encode.go:297 +0xc0
encoding/json.(*Encoder).Encode(0x14000847218, {0x103ec4f80, 0x14003c56000})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/encoding/json/stream.go:209 +0xa4
github.com/filecoin-project/go-jsonrpc.(*handler).handle.func1({0x1041007a0?, 0x1400504fde0?})
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/handler.go:488 +0x84
github.com/filecoin-project/go-jsonrpc.withLazyWriter(0x1400617ef30, 0x14000847708)
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/handler.go:507 +0xd0
github.com/filecoin-project/go-jsonrpc.(*handler).handle(0x14003ce9590, {0x104127ff8, 0x14004d86f00}, {{0x14006514ed0, 0x3}, {0x103b98140, 0x14006514ed8}, {0x14006514ee0, 0xe}, {0x14005aec1e0, ...}, ...}, ...)
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/handler.go:487 +0x16d4
github.com/filecoin-project/go-jsonrpc.(*handler).handleReader(0x14003ce9590, {0x104127ff8, 0x14004d86f00}, {0x14d1c3c50, 0x14005b01a40}, {0x1040fdc20, 0x1400383a000}, 0x1040ef2b0)
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/handler.go:268 +0x554
github.com/filecoin-project/go-jsonrpc.(*RPCServer).ServeHTTP(0x1400190a600, {0x104111160, 0x1400383a000}, 0x140036125a0)
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/server.go:104 +0x140
github.com/filecoin-project/go-jsonrpc/auth.(*Handler).ServeHTTP(0x14001568690, {0x104111160, 0x1400383a000}, 0x1400564e360)
/Users/joshstein/go/pkg/mod/github.com/filecoin-project/[email protected]/auth/handler.go:47 +0x378
net/http.serverHandler.ServeHTTP({0x10410aab8?}, {0x104111160?, 0x1400383a000?}, 0x6?)
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3137 +0xbc
net/http.(*conn).serve(0x14004f70000, {0x104127ff8, 0x1400142bce0})
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2039 +0x508
created by net/http.(*Server).Serve in goroutine 4996
/Users/joshstein/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3285 +0x3f0
2024-04-18T20:42:24.010-0400 ERROR rpc [email protected]/handler.go:489 json: error calling MarshalJSON for type *types.Any: JSON marshal marshaling error for &Any{TypeUrl:/cosmos.tx.v1beta1.Tx,Value:[10 191 1 10 188 1 10 42 47 99 111 115 109 111 115 46 102 101 101 103 114 97 110 116 46 118 49 98 101 116 97 49 46 77 115 103 71 114 97 110 116 65 108 108 111 119 97 110 99 101 18 141 1 10 47 99 101 108 101 115 116 105 97 49 104 48 56 100 108 97 50 106 103 50 53 50 57 110 54 118 106 100 55 112 120 115 100 51 103 108 97 53 100 118 104 112 116 107 118 101 53 51 18 47 99 101 108 101 115 116 105 97 49 101 53 48 48 108 48 110 108 119 113 106 55 120 53 118 115 113 99 120 113 100 56 114 110 115 53 107 104 118 102 119 48 115 107 103 117 54 48 26 41 10 39 47 99 111 115 109 111 115 46 102 101 101 103 114 97 110 116 46 118 49 98 101 116 97 49 46 66 97 115 105 99 65 108 108 111 119 97 110 99 101 18 31 10 9 18 4 10 2 8 1 24 151 5 18 18 10 12 10 4 117 116 105 97 18 4 50 48 48 48 16 192 132 61 26 64 229 74 212 101 128 129 83 34 15 198 98 219 160 223 112 171 14 51 30 114 245 160 51 100 108 246 37 6 225 70 104 199 62 191 139 119 80 254 139 1 179 221 196 133 58 118 113 13 87 137 18 1 89 213 110 20 196 145 45 148 232 240 214 45],XXX_unrecognized:[]}, this is likely because amino is being used directly (instead of codec.LegacyAmino which is preferred) or UnpackInterfacesMessage is not defined for some type which contains a protobuf Any either directly or via one of its members. To see a stacktrace of where the error is coming from, set the var Debug = true in codec/types/compat.go
2024-04-18T20:42:32.812-0400 INFO header/store store/store.go:375 new head {"height": 1639317, "hash": "B146D4C030B88E8AF4F5433EB1B0C96D38C5AE22D5BA8128C88FCAA9432BED96"}
2024-04-18T20:42:32.812-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639317, "hash": "B146D4C030B88E8AF4F5433EB1B0C96D38C5AE22D5BA8128C88FCAA9432BED96", "square width": 32, "data root": "25C41C48751B84B0B4D900437DC47EFF7604520C35224A309C8E4F2A7E554C6E", "finished (s)": 0.000004875}
2024-04-18T20:42:43.732-0400 INFO bitswap-server server/server.go:547 Bitswap Client ReceiveError: stream reset
2024-04-18T20:42:44.410-0400 INFO header/store store/store.go:375 new head {"height": 1639318, "hash": "E99713BF1C01754C20BA384F05883AE6E74D77037A5BE5AF47E145CB94B60ECA"}
2024-04-18T20:42:44.410-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639318, "hash": "E99713BF1C01754C20BA384F05883AE6E74D77037A5BE5AF47E145CB94B60ECA", "square width": 32, "data root": "937EE728075D7DF9236AB9EC477B63EB64943BB77184AC56E0DA834EC5403C07", "finished (s)": 0.0000055}
2024-04-18T20:42:56.076-0400 INFO header/store store/store.go:375 new head {"height": 1639319, "hash": "A93902A84F8BF4D0F3305F76F0B5FB4C743294D67B8B488FD4A19D73EC349DCF"}
2024-04-18T20:42:56.076-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639319, "hash": "A93902A84F8BF4D0F3305F76F0B5FB4C743294D67B8B488FD4A19D73EC349DCF", "square width": 32, "data root": "929C392DF69675568FF2C091720BBBDE67D6A08FBE726444174DCEB5E6D7B1A9", "finished (s)": 0.000004625}
2024-04-18T20:42:57.436-0400 WARN rpc [email protected]/handler.go:444 error in RPC call to 'state.GrantFee': tx was included but failed with code 18: failed to execute message; message index: 0: fee allowance already exists: invalid request
2024-04-18T20:42:57.437-0400 ERROR rpc [email protected]/handler.go:484 error and res returned {"request": {"jsonrpc":"2.0","id":1,"method":"state.GrantFee","params":["celestia1e500l0nlwqj7x5vsqcxqd8rns5khvfw0skgu60","0","2000",1000000],"meta":{"SpanContext":"AAApzIqQANNZnacxQ7mkrHeMAUsy0BJV/PcmAgA="}}, "r.err": "tx was included but failed with code 18: failed to execute message; message index: 0: fee allowance already exists: invalid request", "res": "code: 18\ncodespace: sdk\ndata: \"\"\nevents:\n- attributes:\n - index: true\n key: c3BlbmRlcg==\n value: Y2VsZXN0aWExaDA4ZGxhMmpnMjUyOW42dmpkN3B4c2QzZ2xhNWR2aHB0a3ZlNTM=\n - index: true\n key: YW1vdW50\n value: MjAwMHV0aWE=\n type: coin_spent\n- attributes:\n - index: true\n key: cmVjZWl2ZXI=\n value: Y2VsZXN0aWExN3hwZnZha20yYW1nOTYyeWxzNmY4NHoza2VsbDhjNWxwbmpzM3M=\n - index: true\n key: YW1vdW50\n value: MjAwMHV0aWE=\n type: coin_received\n- attributes:\n - index: true\n key: cmVjaXBpZW50\n value: Y2VsZXN0aWExN3hwZnZha20yYW1nOTYyeWxzNmY4NHoza2VsbDhjNWxwbmpzM3M=\n - index: true\n key: c2VuZGVy\n value: Y2VsZXN0aWExaDA4ZGxhMmpnMjUyOW42dmpkN3B4c2QzZ2xhNWR2aHB0a3ZlNTM=\n - index: true\n key: YW1vdW50\n value: MjAwMHV0aWE=\n type: transfer\n- attributes:\n - index: true\n key: c2VuZGVy\n value: Y2VsZXN0aWExaDA4ZGxhMmpnMjUyOW42dmpkN3B4c2QzZ2xhNWR2aHB0a3ZlNTM=\n type: message\n- attributes:\n - index: true\n key: ZmVl\n value: MjAwMHV0aWE=\n - index: true\n key: ZmVlX3BheWVy\n value: Y2VsZXN0aWExaDA4ZGxhMmpnMjUyOW42dmpkN3B4c2QzZ2xhNWR2aHB0a3ZlNTM=\n type: tx\n- attributes:\n - index: true\n key: YWNjX3NlcQ==\n value: Y2VsZXN0aWExaDA4ZGxhMmpnMjUyOW42dmpkN3B4c2QzZ2xhNWR2aHB0a3ZlNTMvNjY0\n type: tx\n- attributes:\n - index: true\n key: c2lnbmF0dXJl\n value: RWpsWGcwTWM5NFlDaFVqdU5WRTAweUhxNWFlYWI4dUFyMUk5ZldRbGVvZ2sySUZoNGM0eElMdFdWa0Y1ZWN0YTlSb0EvWk51Y0d6ekdTaFhkNGJZK3c9PQ==\n type: tx\ngas_used: \"61044\"\ngas_wanted: \"1000000\"\nheight: \"1639319\"\ninfo: \"\"\nlogs: []\nraw_log: 'failed to execute message; message index: 0: fee allowance already exists:\n invalid request'\ntimestamp: \"2024-04-19T00:42:44Z\"\ntx:\n '@type': /cosmos.tx.v1beta1.Tx\n auth_info:\n fee:\n amount:\n - amount: \"2000\"\n denom: utia\n gas_limit: \"1000000\"\n granter: \"\"\n payer: \"\"\n signer_infos:\n - mode_info:\n single:\n mode: SIGN_MODE_DIRECT\n public_key: null\n sequence: \"664\"\n tip: null\n body:\n extension_options: []\n memo: \"\"\n messages:\n - '@type': /cosmos.feegrant.v1beta1.MsgGrantAllowance\n allowance:\n '@type': /cosmos.feegrant.v1beta1.BasicAllowance\n expiration: null\n spend_limit: []\n grantee: celestia1e500l0nlwqj7x5vsqcxqd8rns5khvfw0skgu60\n granter: celestia1h08dla2jg2529n6vjd7pxsd3gla5dvhptkve53\n non_critical_extension_options: []\n timeout_height: \"0\"\n signatures:\n - EjlXg0Mc94YChUjuNVE00yHq5aeab8uAr1I9fWQleogk2IFh4c4xILtWVkF5ecta9RoA/ZNucGzzGShXd4bY+w==\ntxhash: 2BED9A1E0EE0F18DB18EA8FA6DF54C0E7AB37884D897FAC5725A14EB68C8986D\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment