Add goerli archive integration test

This commit is contained in:
Martin Boehm 2023-02-17 23:26:06 +01:00
parent 62f3a3bbce
commit c163b8f33d
3 changed files with 40 additions and 6 deletions

View File

@ -146,7 +146,7 @@ backend-deploy-and-test-bitcoin_testnet:
- configs/coins/bitcoin_testnet.json - configs/coins/bitcoin_testnet.json
tags: tags:
- blockbook - blockbook
script: ./contrib/scripts/backend-deploy-and-test.sh bitcoin_testnet bitcoin-testnet bitcoin=test testnet3/debug.log script: ./contrib/scripts/backend-deploy-and-test.sh bitcoin_testnet bitcoin-testnet bitcoin=test testnet3/debug.log
backend-deploy-and-test-zcash_testnet: backend-deploy-and-test-zcash_testnet:
stage: backend-deploy-and-test stage: backend-deploy-and-test
@ -157,15 +157,15 @@ backend-deploy-and-test-zcash_testnet:
- configs/coins/zcash_testnet.json - configs/coins/zcash_testnet.json
tags: tags:
- blockbook - blockbook
script: ./contrib/scripts/backend-deploy-and-test.sh zcash_testnet zcash-testnet zcash=test testnet3/debug.log script: ./contrib/scripts/backend-deploy-and-test.sh zcash_testnet zcash-testnet zcash=test testnet3/debug.log
backend-deploy-and-test-ethereum_testnet_ropsten: backend-deploy-and-test-goerli-archive:
stage: backend-deploy-and-test stage: backend-deploy-and-test
only: only:
refs: refs:
- master - master
changes: changes:
- configs/coins/ethereum_testnet_ropsten.json - configs/coins/ethereum_testnet_goerli_archive.json
tags: tags:
- blockbook - blockbook
script: ./contrib/scripts/backend-deploy-and-test.sh ethereum_testnet_ropsten ethereum-testnet-ropsten ethereum=test ethereum_testnet_ropsten.log script: ./contrib/scripts/backend-deploy-and-test.sh ethereum_testnet_goerli_archive ethereum-testnet-goerli-archive ethereum=test ethereum_testnet_goerli_archive.log

View File

@ -0,0 +1,34 @@
{
"blockHeight": 6509294,
"blockHash": "0x55eced8804c4358572c612e5507994590db91000db483d4f30588be2e85a31ca",
"blockTime": 1646866921,
"blockSize": 60725,
"blockTxs": [
"0x583468dcbc06bd14a523a5809872b2cd0be9481f24380e78463337e79740135f",
"0x4ff5b60fceab52918f2e1f9d39c125c8c5856fa2349003c6d163225a145e34db",
"0xa08ca828de3986f3d182dc13c7293068ec5d64d63221a196b5e589fec10a448a",
"0x43dad1209906ad2866cc9bb5e0309530b6ab744b55f62c5c66406197b64583ae",
"0x43a8f9a93060681a466f918dd90d836fe089115e8c92a4b13e37b2982ba76090",
"0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53"
],
"txDetails": {
"0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53": {
"txid": "0x1d1184e4d4b125e7017ad0ea8fafd59d34ea848abc88a0b0afa648b5d148ff53",
"blocktime": 1646866921,
"time": 1646866921,
"vin": [
{
"addresses": ["0x68A3E5Ec00Ec5880Fae10CB69f047fa42Cd2d32C"]
}
],
"vout": [
{
"value": 0.4,
"scriptPubKey": {
"addresses": ["0x71F33321375494206d23Cc3950A923a9b4c615A4"]
}
}
]
}
}
}

View File

@ -97,7 +97,7 @@
"GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"], "GetBestBlockHash", "GetBestBlockHeight", "GetBlockHeader"],
"sync": ["ConnectBlocksParallel", "ConnectBlocks", "HandleFork"] "sync": ["ConnectBlocksParallel", "ConnectBlocks", "HandleFork"]
}, },
"ethereum_testnet_ropsten": { "ethereum_testnet_goerli_archive": {
"rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight", "rpc": ["GetBlock", "GetBlockHash", "GetTransaction", "EstimateFee", "GetBestBlockHash", "GetBestBlockHeight",
"GetBlockHeader"] "GetBlockHeader"]
}, },