Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: stop recursive loop in TypeInfo error print
Fix the second issue in gnolang#1197 - Before fix, if a Amino type was not imported as registered Amino package, we got stack overflow runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0xc02050c458 stack=[0xc02050c000, 0xc04050c000] fatal error: stack overflow - After fix, if a Amino type was not imported as registered Amino package, we could print the message to verify what has been imported for debugging purpose Error: unable to unmarshal with amino, unmarshal to std.Tx failed after 17 bytes (error reading slice contents: unrecognized concrete type full name vm.m_call of map[abci.BlockParams:TypeInfo{Type:abci.BlockParams,Registered:true,PointerPreferred:false,TypeURL:"/abci.BlockParams",ReprType:,Fields:[]amino.FieldInfo{amino.FieldInfo{Type:(*reflect.rtype)(0x104cfc920), TypeInfo:(*amino.TypeInfo)(0x1400011c6e0), Name:"MaxTxBytes", Index:0, ........
- Loading branch information