Hi there !
I am working on my OWB project.
It is very similar to NBA TopShot, just more decentralized. The idea is that celebrities could put their digital assets into decks and then people could mint those assets and sell them.
So I took a lot of inspiration from the NBA smart contract and tried to make it possible for anyone to be an admin of his own ecosystem.
Given that when reading the code you can think deck = set in NBA TopShot, memento = Play in NBA TopShot
Problem :
When submitting the transaction2 (to create a deck and put it in the admin resource) I get an error from the emulator : fatal error : stack overflow
**Code : **
Check the readme to reproduce the error.
Error :
time="2020-08-25T21:31:51+07:00" level=debug msg="οΈβοΈ Transaction submitted" txID=61a05b64eae029ec37775f1981009c6ceaf3722eda929bb1ef8eed34f1334de0 runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0xc0210e3348 stack=[0xc0210e2000, 0xc0410e2000] fatal error: stack overflow runtime stack: runtime.throw(0x10b7928, 0xe) runtime/panic.go:1116 +0x79 runtime.newstack() runtime/stack.go:1034 +0x6dc runtime.morestack() runtime/asm_amd64.s:449 +0x97 goroutine 175 [running]: runtime.mallocgc(0x20, 0x0, 0x10000c000080000, 0x180108) runtime/malloc.go:891 +0x9fa fp=0xc0210e3358 sp=0xc0210e3350 pc=0x40d9aa runtime.growslice(0xec3fc0, 0x0, 0x0, 0x0, 0x1d, 0x0, 0x0, 0xc007ad12f8) runtime/slice.go:175 +0x155 fp=0xc0210e33c0 sp=0xc0210e3358 pc=0x44df65 strings.(*Builder).WriteString(...) strings/builder.go:123 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0xc0210e3501, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5434 +0x78e fp=0xc0210e3500 sp=0xc0210e33c0 pc=0x8f86ee github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e3528 sp=0xc0210e3500 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc1ad0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e3798 sp=0xc0210e3528 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1ad0, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e3830 sp=0xc0210e3798 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1ad0, 0xc0210e39b0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e38b8 sp=0xc0210e3830 pc=0x4fd24f fmt.Sprint(0xc0210e39b0, 0x1, 0x1, 0xc007ad1332, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e3910 sp=0xc0210e38b8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e3a50 sp=0xc0210e3910 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc1a00, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e3cc0 sp=0xc0210e3a50 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1a00, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e3d58 sp=0xc0210e3cc0 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1a00, 0xc0210e3ed8, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e3de0 sp=0xc0210e3d58 pc=0x4fd24f fmt.Sprint(0xc0210e3ed8, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e3e38 sp=0xc0210e3de0 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e3f18 sp=0xc0210e3e38 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc1930, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e4188 sp=0xc0210e3f18 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1930, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e4220 sp=0xc0210e4188 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1930, 0xc0210e43a0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e42a8 sp=0xc0210e4220 pc=0x4fd24f fmt.Sprint(0xc0210e43a0, 0x1, 0x1, 0xc007ad122a, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e4300 sp=0xc0210e42a8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0xc0210e4401, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e4440 sp=0xc0210e4300 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e4468 sp=0xc0210e4440 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc1860, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e46d8 sp=0xc0210e4468 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1860, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e4770 sp=0xc0210e46d8 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1860, 0xc0210e48f0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e47f8 sp=0xc0210e4770 pc=0x4fd24f fmt.Sprint(0xc0210e48f0, 0x1, 0x1, 0xc007ad11f2, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e4850 sp=0xc0210e47f8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e4990 sp=0xc0210e4850 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc1790, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e4c00 sp=0xc0210e4990 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1790, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e4c98 sp=0xc0210e4c00 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1790, 0xc0210e4e18, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e4d20 sp=0xc0210e4c98 pc=0x4fd24f fmt.Sprint(0xc0210e4e18, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e4d78 sp=0xc0210e4d20 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e4e58 sp=0xc0210e4d78 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc16c0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e50c8 sp=0xc0210e4e58 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc16c0, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e5160 sp=0xc0210e50c8 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc16c0, 0xc0210e52e0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e51e8 sp=0xc0210e5160 pc=0x4fd24f fmt.Sprint(0xc0210e52e0, 0x1, 0x1, 0xc007ad1148, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e5240 sp=0xc0210e51e8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0x1, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e5380 sp=0xc0210e5240 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e53a8 sp=0xc0210e5380 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc15f0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e5618 sp=0xc0210e53a8 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc15f0, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e56b0 sp=0xc0210e5618 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc15f0, 0xc0210e5830, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e5738 sp=0xc0210e56b0 pc=0x4fd24f fmt.Sprint(0xc0210e5830, 0x1, 0x1, 0x20, 0x22) fmt/print.go:249 +0x59 fp=0xc0210e5790 sp=0xc0210e5738 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e58d0 sp=0xc0210e5790 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc1520, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e5b40 sp=0xc0210e58d0 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1520, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e5bd8 sp=0xc0210e5b40 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1520, 0xc0210e5d58, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e5c60 sp=0xc0210e5bd8 pc=0x4fd24f fmt.Sprint(0xc0210e5d58, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e5cb8 sp=0xc0210e5c60 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e5d98 sp=0xc0210e5cb8 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc1450, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e6008 sp=0xc0210e5d98 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1450, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e60a0 sp=0xc0210e6008 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1450, 0xc0210e6220, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e6128 sp=0xc0210e60a0 pc=0x4fd24f fmt.Sprint(0xc0210e6220, 0x1, 0x1, 0x40, 0x41) fmt/print.go:249 +0x59 fp=0xc0210e6180 sp=0xc0210e6128 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0xc0210e6301, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e62c0 sp=0xc0210e6180 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e62e8 sp=0xc0210e62c0 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc1380, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e6558 sp=0xc0210e62e8 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1380, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e65f0 sp=0xc0210e6558 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1380, 0xc0210e6770, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e6678 sp=0xc0210e65f0 pc=0x4fd24f fmt.Sprint(0xc0210e6770, 0x1, 0x1, 0xc007ad10ea, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e66d0 sp=0xc0210e6678 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e6810 sp=0xc0210e66d0 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc12b0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e6a80 sp=0xc0210e6810 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc12b0, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e6b18 sp=0xc0210e6a80 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc12b0, 0xc0210e6c98, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e6ba0 sp=0xc0210e6b18 pc=0x4fd24f fmt.Sprint(0xc0210e6c98, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e6bf8 sp=0xc0210e6ba0 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e6cd8 sp=0xc0210e6bf8 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc11e0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e6f48 sp=0xc0210e6cd8 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc11e0, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e6fe0 sp=0xc0210e6f48 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc11e0, 0xc0210e7160, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e7068 sp=0xc0210e6fe0 pc=0x4fd24f fmt.Sprint(0xc0210e7160, 0x1, 0x1, 0x20, 0x23) fmt/print.go:249 +0x59 fp=0xc0210e70c0 sp=0xc0210e7068 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0x1, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e7200 sp=0xc0210e70c0 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e7228 sp=0xc0210e7200 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc1110, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e7498 sp=0xc0210e7228 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1110, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e7530 sp=0xc0210e7498 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1110, 0xc0210e76b0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e75b8 sp=0xc0210e7530 pc=0x4fd24f fmt.Sprint(0xc0210e76b0, 0x1, 0x1, 0x20, 0x22) fmt/print.go:249 +0x59 fp=0xc0210e7610 sp=0xc0210e75b8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e7750 sp=0xc0210e7610 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc1040, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e79c0 sp=0xc0210e7750 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc1040, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e7a58 sp=0xc0210e79c0 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc1040, 0xc0210e7bd8, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e7ae0 sp=0xc0210e7a58 pc=0x4fd24f fmt.Sprint(0xc0210e7bd8, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e7b38 sp=0xc0210e7ae0 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e7c18 sp=0xc0210e7b38 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc0f70, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e7e88 sp=0xc0210e7c18 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc0f70, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e7f20 sp=0xc0210e7e88 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc0f70, 0xc0210e80a0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e7fa8 sp=0xc0210e7f20 pc=0x4fd24f fmt.Sprint(0xc0210e80a0, 0x1, 0x1, 0xc007ad104a, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e8000 sp=0xc0210e7fa8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0xc0210e8101, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e8140 sp=0xc0210e8000 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e8168 sp=0xc0210e8140 pc=0x8fc66b fmt.(*pp).handleMethods(0xc008dc0ea0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e83d8 sp=0xc0210e8168 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc0ea0, 0x1038960, 0xc000907e20, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e8470 sp=0xc0210e83d8 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc0ea0, 0xc0210e85f0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e84f8 sp=0xc0210e8470 pc=0x4fd24f fmt.Sprint(0xc0210e85f0, 0x1, 0x1, 0xc007ad0fe2, 0x2) fmt/print.go:249 +0x59 fp=0xc0210e8550 sp=0xc0210e84f8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086d030, 0x1048be0, 0xc00086d030) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e8690 sp=0xc0210e8550 pc=0x8f836f fmt.(*pp).handleMethods(0xc008dc0dd0, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e8900 sp=0xc0210e8690 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc0dd0, 0x1048be0, 0xc00086d030, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e8998 sp=0xc0210e8900 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc0dd0, 0xc0210e8b18, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e8a20 sp=0xc0210e8998 pc=0x4fd24f fmt.Sprint(0xc0210e8b18, 0x1, 0x1, 0x1, 0xc000395048) fmt/print.go:249 +0x59 fp=0xc0210e8a78 sp=0xc0210e8a20 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*DictionaryValue).String(0xc000abc780, 0x1050140, 0xc000abc780) github.com/onflow/[email protected]/runtime/interpreter/value.go:5688 +0x35a fp=0xc0210e8b58 sp=0xc0210e8a78 pc=0x8fa24a fmt.(*pp).handleMethods(0xc008dc0d00, 0x76, 0xc000268501) fmt/print.go:630 +0x309 fp=0xc0210e8dc8 sp=0xc0210e8b58 pc=0x4f82a9 fmt.(*pp).printArg(0xc008dc0d00, 0x1050140, 0xc000abc780, 0x76) fmt/print.go:713 +0x1eb fp=0xc0210e8e60 sp=0xc0210e8dc8 pc=0x4f884b fmt.(*pp).doPrint(0xc008dc0d00, 0xc0210e8fe0, 0x1, 0x1) fmt/print.go:1161 +0xff fp=0xc0210e8ee8 sp=0xc0210e8e60 pc=0x4fd24f fmt.Sprint(0xc0210e8fe0, 0x1, 0x1, 0x20, 0x23) fmt/print.go:249 +0x59 fp=0xc0210e8f40 sp=0xc0210e8ee8 pc=0x4f52c9 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).String(0xc00086cfc0, 0xc0210e9101, 0x2de4268) github.com/onflow/[email protected]/runtime/interpreter/value.go:5443 +0x40f fp=0xc0210e9080 sp=0xc0210e8f40 pc=0x8f836f github.com/onflow/cadence/runtime/interpreter.(*EphemeralReferenceValue).String(0xc000907e20, 0x1038960, 0xc000907e20) github.com/onflow/[email protected]/runtime/interpreter/value.go:6081 +0x3b fp=0xc0210e90a8 sp=0xc0210e9080 pc=0x8fc66b created by google.golang.org/grpc.(*Server).serveStreams.func1 google.golang.org/[email protected]/server.go:832 +0x20b goroutine 1 [semacquire, 1 minutes]: sync.runtime_Semacquire(0xc0000873f8) runtime/sema.go:56 +0x49 sync.(*WaitGroup).Wait(0xc0000873f0) sync/waitgroup.go:130 +0x6b github.com/psiemens/graceland.(*Group).Start(0xc000009b80, 0x2e21cf0, 0xc000554250) github.com/psiemens/[email protected]/graceland.go:97 +0x16b github.com/dapperlabs/flow-emulator/server.(*EmulatorServer).Start(0xc000159490) github.com/dapperlabs/[email protected]/server/server.go:141 +0x340 github.com/dapperlabs/flow-emulator/cmd/emulator/start.Cmd.func1(0xc0001bd080, 0xc000098700, 0x0, 0x8) github.com/dapperlabs/[email protected]/cmd/emulator/start/start.go:110 +0x71a github.com/spf13/cobra.(*Command).execute(0xc0001bd080, 0xc00012c030, 0x8, 0xd, 0xc0001bd080, 0xc00012c030) github.com/spf13/[email protected]/command.go:842 +0x2a4 github.com/spf13/cobra.(*Command).ExecuteC(0x1d81960, 0x0, 0x0, 0xc0000440b8) github.com/spf13/[email protected]/command.go:943 +0x31e github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/[email protected]/command.go:883 main.main() github.com/dapperlabs/flow-cli/cmd/flow/main.go:38 +0x34 goroutine 35 [select, 1 minutes]: github.com/desertbit/timer.timerRoutine() github.com/desertbit/[email protected]/timers.go:119 +0x30b created by github.com/desertbit/timer.init.0 github.com/desertbit/[email protected]/timers.go:15 +0x3c goroutine 52 [select]: github.com/dapperlabs/flow-emulator/server.(*LivenessTicker).Start(0xc000303d20, 0x441afd, 0x1221960) github.com/dapperlabs/[email protected]/server/liveness.go:28 +0xe8 github.com/psiemens/graceland.(*Group).Start.func1(0xc000009b80, 0xc0000873f0, 0x0, 0x1384be0, 0xc000303d20) github.com/psiemens/[email protected]/graceland.go:71 +0x3c created by github.com/psiemens/graceland.(*Group).Start github.com/psiemens/[email protected]/graceland.go:70 +0x111 goroutine 53 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x28e21098, 0x72, 0x137c320) runtime/netpoll.go:203 +0x5c internal/poll.(*pollDesc).wait(0xc0001735c8, 0x72, 0x1b6a900, 0x0, 0x0) internal/poll/fd_poll_runtime.go:87 +0x4c internal/poll.(*ioSrv).ExecIO(0x1d8a468, 0xc000173418, 0xc0003c4aa0, 0x1, 0x0, 0x164) internal/poll/fd_windows.go:228 +0x121 internal/poll.(*FD).acceptOne(0xc000173400, 0x164, 0xc0006f00f0, 0x2, 0x2, 0xc000173418, 0x98000004, 0xc00032bd4c, 0xc, 0x0) internal/poll/fd_windows.go:896 +0xa9 internal/poll.(*FD).Accept(0xc000173400, 0xc00032bd50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) internal/poll/fd_windows.go:930 +0x15f net.(*netFD).accept(0xc000173400, 0x37e11d600, 0x0, 0x0) net/fd_windows.go:193 +0x7b net.(*TCPListener).accept(0xc000388100, 0xc00032bdf8, 0xc00032be00, 0x18) net/tcpsock_posix.go:139 +0x39 net.(*TCPListener).Accept(0xc000388100, 0x121ff48, 0xc0003fcfc0, 0x13a3e60, 0xc0003100a8) net/tcpsock.go:261 +0x6b google.golang.org/grpc.(*Server).Serve(0xc0003fcfc0, 0x1391860, 0xc000388100, 0x0, 0x0) google.golang.org/[email protected]/server.go:695 +0x217 github.com/dapperlabs/flow-emulator/server.(*GRPCServer).Start(0xc0003e3d60, 0x0, 0x0) github.com/dapperlabs/[email protected]/server/grpc.go:51 +0x103 github.com/psiemens/graceland.(*Group).Start.func1(0xc000009b80, 0xc0000873f0, 0x1, 0x1384b60, 0xc0003e3d60) github.com/psiemens/[email protected]/graceland.go:71 +0x3c created by github.com/psiemens/graceland.(*Group).Start github.com/psiemens/[email protected]/graceland.go:70 +0x111 goroutine 54 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x28e20fb8, 0x72, 0x137c320) runtime/netpoll.go:203 +0x5c internal/poll.(*pollDesc).wait(0xc000282448, 0x72, 0x1b6a900, 0x0, 0x0) internal/poll/fd_poll_runtime.go:87 +0x4c internal/poll.(*ioSrv).ExecIO(0x1d8a468, 0xc000282298, 0xc0003c4020, 0x1, 0x0, 0x168) internal/poll/fd_windows.go:228 +0x121 internal/poll.(*FD).acceptOne(0xc000282280, 0x168, 0xc0006f0000, 0x2, 0x2, 0xc000282298, 0x0, 0x40ac42, 0xc0003c1c00, 0x4144c8) internal/poll/fd_windows.go:896 +0xa9 internal/poll.(*FD).Accept(0xc000282280, 0xc0003c1d00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) internal/poll/fd_windows.go:930 +0x15f net.(*netFD).accept(0xc000282280, 0xc0003c1d58, 0x1d90600, 0x180e58) net/fd_windows.go:193 +0x7b net.(*TCPListener).accept(0xc0003c4000, 0xc0003c1d98, 0x40db9f, 0x30) net/tcpsock_posix.go:139 +0x39 net.(*TCPListener).Accept(0xc0003c4000, 0x1005c00, 0xc0006ea120, 0xf121a0, 0x1d6e110) net/tcpsock.go:261 +0x6b net/http.(*Server).Serve(0xc00016a7e0, 0x1391860, 0xc0003c4000, 0x0, 0x0) net/http/server.go:2930 +0x264 net/http.(*Server).ListenAndServe(0xc00016a7e0, 0x0, 0x0) net/http/server.go:2859 +0xbe github.com/dapperlabs/flow-emulator/server.(*HTTPServer).Start(0xc000554888, 0x0, 0x0) github.com/dapperlabs/[email protected]/server/http.go:61 +0x39 github.com/psiemens/graceland.(*Group).Start.func1(0xc000009b80, 0xc0000873f0, 0x2, 0x1384ba0, 0xc000554888) github.com/psiemens/[email protected]/graceland.go:71 +0x3c created by github.com/psiemens/graceland.(*Group).Start github.com/psiemens/[email protected]/graceland.go:70 +0x111 goroutine 56 [chan receive, 1 minutes]: github.com/psiemens/graceland.(*Group).Start.func2(0xc000009b80) github.com/psiemens/[email protected]/graceland.go:93 +0xd3 created by github.com/psiemens/graceland.(*Group).Start github.com/psiemens/[email protected]/graceland.go:90 +0x15d goroutine 57 [syscall, 1 minutes]: os/signal.signal_recv(0x0) runtime/sigqueue.go:147 +0xa3 os/signal.loop() os/signal/signal_unix.go:23 +0x29 created by os/signal.Notify.func1 os/signal/signal.go:127 +0x4b goroutine 29 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00009ce60, 0x1, 0x0, 0x0, 0x0, 0x0) google.golang.org/[email protected]/internal/transport/controlbuf.go:395 +0x129 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00034e0c0, 0x0, 0x0) google.golang.org/[email protected]/internal/transport/controlbuf.go:513 +0x1d4 google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc000084600) google.golang.org/[email protected]/internal/transport/http2_server.go:291 +0xd2 created by google.golang.org/grpc/internal/transport.newHTTP2Server google.golang.org/[email protected]/internal/transport/http2_server.go:288 +0x10c8 goroutine 30 [select, 1 minutes]: google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc000084600) google.golang.org/[email protected]/internal/transport/http2_server.go:959 +0x28c created by google.golang.org/grpc/internal/transport.newHTTP2Server google.golang.org/[email protected]/internal/transport/http2_server.go:297 +0x10ed goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x28e20ed8, 0x72, 0x137c320) runtime/netpoll.go:203 +0x5c internal/poll.(*pollDesc).wait(0xc0002826c8, 0x72, 0x1b6a900, 0x0, 0x0) internal/poll/fd_poll_runtime.go:87 +0x4c internal/poll.(*ioSrv).ExecIO(0x1d8a468, 0xc000282518, 0x12211e0, 0x11, 0x0, 0x0) internal/poll/fd_windows.go:228 +0x121 internal/poll.(*FD).Read(0xc000282500, 0xc0006f4000, 0x8000, 0x8000, 0x0, 0x0, 0x0) internal/poll/fd_windows.go:527 +0x2fc net.(*netFD).Read(0xc000282500, 0xc0006f4000, 0x8000, 0x8000, 0x800010601, 0x0, 0x10601004abcb8) net/fd_windows.go:152 +0x56 net.(*conn).Read(0xc0003100a8, 0xc0006f4000, 0x8000, 0x8000, 0x0, 0x0, 0x0) net/net.go:184 +0x95 bufio.(*Reader).Read(0xc0006f2000, 0xc0006fc038, 0x9, 0x9, 0xc000160000, 0x4595a3, 0x31f37e3bef5cc) bufio/bufio.go:226 +0x256 io.ReadAtLeast(0x1377d40, 0xc0006f2000, 0xc0006fc038, 0x9, 0x9, 0x9, 0xbfc96615fa22de74, 0x1162470609, 0x1d8f2a0) io/io.go:310 +0x8e io.ReadFull(...) io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc0006fc038, 0x9, 0x9, 0x1377d40, 0xc0006f2000, 0x0, 0x0, 0xc000038fa0, 0x0) golang.org/x/[email protected]/http2/frame.go:237 +0x8e golang.org/x/net/http2.(*Framer).ReadFrame(0xc0006fc000, 0xc000038fa0, 0x1d8f2a0, 0x0, 0x0) golang.org/x/[email protected]/http2/frame.go:492 +0xa8 google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc000084600, 0xc0006ea2d0, 0x121ff88) google.golang.org/[email protected]/internal/transport/http2_server.go:453 +0x9f google.golang.org/grpc.(*Server).serveStreams(0xc0003fcfc0, 0x13a5a20, 0xc000084600) google.golang.org/[email protected]/server.go:818 +0x105 google.golang.org/grpc.(*Server).handleRawConn.func1(0xc0003fcfc0, 0x13a5a20, 0xc000084600) google.golang.org/[email protected]/server.go:777 +0x46 created by google.golang.org/grpc.(*Server).handleRawConn google.golang.org/[email protected]/server.go:776 +0x504
Thank you for your help !
Have a nice day