-
-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for BYTZ coin #463
Comments
I added: bytzcurrency@1e428b1 "handleFork": { to sync\testdata\bytz.json and now I am getting more of a descriptive error: cd /go/src/github.com/trezor/blockbook && packr clean && packr |
I am attempting to make integration tests for a new coin called BYTZ ... when I run make test-integration ARGS="-run=TestIntegration/bytz/" I am getting this:
cd /go/src/github.com/trezor/blockbook && packr clean && packr
cd /go/src/github.com/trezor/blockbook && go test -tags integration
go list github.com/trezor/blockbook/tests/...
-run=TestIntegration/bytz/--- FAIL: TestIntegration (0.12s)
--- FAIL: TestIntegration/bytz=main (0.12s)
--- FAIL: TestIntegration/bytz=main/rpc (0.01s)
--- FAIL: TestIntegration/bytz=main/rpc/GetTransaction (0.00s)
rpc.go:185: GetTransaction() got &bchain.Tx{Hex:"01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0603392e0d0101ffffffff0100000000000000000000000000", Txid:"64215f794d731e78714de663cdb83e2cf233800e5d4d2cc3d4c235bc4301651f", Version:1, LockTime:0x0, Vin:[]bchain.Vin{bchain.Vin{Coinbase:"03392e0d0101", Txid:"", Vout:0x0, ScriptSig:bchain.ScriptSig{Hex:""}, Sequence:0xffffffff, Addresses:[]string(nil)}}, Vout:[]bchain.Vout{bchain.Vout{ValueSat:big.Int{neg:false, abs:big.nat(nil)}, JsonValue:"", N:0x0, ScriptPubKey:bchain.ScriptPubKey{Hex:"", Addresses:[]string(nil)}}}, BlockHeight:0x0, Confirmations:0x0, Time:1579204856, Blocktime:1579204856, CoinSpecificData:interface {}(nil)}, want &bchain.Tx{Hex:"01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0603392e0d0101ffffffff0100000000000000000000000000", Txid:"64215f794d731e78714de663cdb83e2cf233800e5d4d2cc3d4c235bc4301651f", Version:1, LockTime:0x0, Vin:[]bchain.Vin{bchain.Vin{Coinbase:"03392e0d0101", Txid:"", Vout:0x0, ScriptSig:bchain.ScriptSig{Hex:""}, Sequence:0xffffffff, Addresses:[]string(nil)}}, Vout:[]bchain.Vout{bchain.Vout{ValueSat:big.Int{neg:false, abs:big.nat(nil)}, JsonValue:"", N:0x0, ScriptPubKey:bchain.ScriptPubKey{Hex:"", Addresses:[]string(nil)}}}, BlockHeight:0x0, Confirmations:0x45c37, Time:1579204856, Blocktime:1579204856, CoinSpecificData:interface {}(nil)}
FAIL
Not really understanding what the issue is, since I am not getting an error message that makes sense? (the previous error messages were great and very descriptive).
This is the branch I am using https://github.com/bytzcurrency/BYTZ-blockbook/tree/BYTZ-coin-support
and the deployment of the explorer can be found here: https://204.92.235.59:9196/
Any help would be appreciated,
Thank you
The text was updated successfully, but these errors were encountered: