You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey so I am trying to make a rosetta-api for our substrate based chain. I have added most of the api according to the docs and through manual testing, I see all the APIs are returning as expected both the data and construction side. So for further testing I have tried using rosetta-cli for testing and when did check:data it all passed without any issues.
But when trying out the check:construction side, I am unable to proceed as I am getting the following error
Command Failed: unable to perform broadcasts: unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
I am failing to understand what is happening here and I am stuck at this for sometime:
Here is the full log
badger 2024/06/07 11:18:35 INFO: All 0 tables opened in 0s
construction tester initialized with 1 accounts
2024/06/07 11:18:35 Setting account 5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu balance to 10000000000000000000000000 &{Symbol:AVAIL Decimals:18 Metadata:map[]}
2024/06/07 11:18:35 1 Balances Updated
Rebroadcasting all transactions...
unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
unable to perform broadcasts: unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
Error: unable to perform broadcasts: unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
github.com/coinbase/rosetta-cli/pkg/results.ExitConstruction
/source/pkg/results/construction_results.go:305
github.com/coinbase/rosetta-cli/cmd.runCheckConstructionCmd
/source/cmd/check_construction.go:159
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/[email protected]/command.go:974
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/coinbase/rosetta-cli/cmd.Execute
/source/cmd/root.go:193
main.main
/source/main.go:26
runtime.main
/usr/local/go/src/runtime/proc.go:225
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1371
badger 2024/06/07 11:18:35 INFO: Storing value log head: {Fid:0 Len:29 Offset:1255}
Error: unable to perform broadcasts: unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
the following is my rosetta repo
and this is my DSL file and this is my config file
I am running using the following command
Hey so I am trying to make a rosetta-api for our substrate based chain. I have added most of the api according to the docs and through manual testing, I see all the APIs are returning as expected both the data and construction side. So for further testing I have tried using rosetta-cli for testing and when did check:data it all passed without any issues.
But when trying out the check:construction side, I am unable to proceed as I am getting the following error
Command Failed: unable to perform broadcasts: unable to broadcast all transactions: unable to get current block identifier: unable to get head block identifier: head block not found
I am failing to understand what is happening here and I am stuck at this for sometime:
Here is the full log
the following is my rosetta repo
and this is my DSL file and this is my config file
I am running using the following command
Do let me know if i messed up with any of configs or any other solutions so that I can proceed with the construction
Thanks in advance
The text was updated successfully, but these errors were encountered: