b2network / b2-node

Ethermint is a Cosmos SDK library for running scalable and interoperable EVM chains
https://docs.evmos.org/
GNU Lesser General Public License v3.0
3 stars 7 forks source link

bitcoin indexer add db store #79

Closed oxf71 closed 6 months ago

oxf71 commented 6 months ago

Closes: #78

Description


For contributor use:


For admin use:

oxf71 commented 6 months ago
4s
Run bufbuild/buf-breaking-action@v1
  with:
    input: proto
    against: https://github.com/b2network/b2-node.git#branch=dev,ref=HEAD~1,subdir=proto
    buf_input_https_username: oxf71
    buf_input_https_password: ***
Error: Previously present file "ethermint/bitcoincommiter/v1/genesis.proto" was deleted.
Error: Previously present file "ethermint/bitcoincommiter/v1/params.proto" was deleted.
Error: Previously present file "ethermint/bitcoincommiter/v1/query.proto" was deleted.
Error: Previously present file "ethermint/bitcoincommiter/v1/tx.proto" was deleted.
Error: Previously present file "ethermint/bitcoinindexer/v1/genesis.proto" was deleted.
Error: Previously present file "ethermint/bitcoinindexer/v1/params.proto" was deleted.
Error: Previously present file "ethermint/bitcoinindexer/v1/query.proto" was deleted.
Error: Previously present file "ethermint/bitcoinindexer/v1/tx.proto" was deleted.
Error: buf found 8 breaking changes.

protobuf/break-check ci fail. The proto file was deleted, so the error was reported

Ignore this error for now

oxf71 commented 6 months ago
2023-12-22 05:02:05 [INFO]   File:[/github/workspace/.env.bitcoin]
2023-12-22 05:02:05 [ERROR]   Found errors in [dotenv-linter] linter!
2023-12-22 05:02:05 [ERROR]   Error code: 1. Command output:
------
Checking .env.bitcoin
.env.bitcoin:1 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:2 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:3 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:4 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:5 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:5 UnorderedKey: The BITCOIN_RPC_PASS key should go before the BITCOIN_RPC_PORT key
.env.bitcoin:6 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:7 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:7 UnorderedKey: The BITCOIN_DESTINATION key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:8 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:8 UnorderedKey: The BITCOIN_ENABLE_INDEXER key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:9 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:9 UnorderedKey: The BITCOIN_INDEXER_LISTEN_ADDRESS key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:10 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:10 UnorderedKey: The BITCOIN_BRIDGE_ETH_RPC_URL key should go before the BITCOIN_DESTINATION key
.env.bitcoin:11 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:11 UnorderedKey: The BITCOIN_BRIDGE_CONTRACT_ADDRESS key should go before the BITCOIN_BRIDGE_ETH_RPC_URL key
.env.bitcoin:12 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:12 UnorderedKey: The BITCOIN_BRIDGE_ETH_PRIV_KEY key should go before the BITCOIN_BRIDGE_ETH_RPC_URL key
.env.bitcoin:13 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:13 UnorderedKey: The BITCOIN_BRIDGE_ABI key should go before the BITCOIN_BRIDGE_CONTRACT_ADDRESS key
.env.bitcoin:14 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:14 UnorderedKey: The BITCOIN_BRIDGE_GAS_LIMIT key should go before the BITCOIN_DESTINATION key
.env.bitcoin:15 UnorderedKey: The BITCOIN_ENABLE_COMMITTER key should go before the BITCOIN_ENABLE_INDEXER key
.env.bitcoin:16 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:16 UnorderedKey: The BITCOIN_STATE_HOST key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:17 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:17 UnorderedKey: The BITCOIN_STATE_PORT key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:18 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:18 UnorderedKey: The BITCOIN_STATE_USER key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:19 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:19 UnorderedKey: The BITCOIN_STATE_PASS key should go before the BITCOIN_STATE_PORT key
.env.bitcoin:20 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:20 UnorderedKey: The BITCOIN_STATE_DB_NAME key should go before the BITCOIN_STATE_HOST key
.env.bitcoin:21 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:21 UnorderedKey: The BITCOIN_BRIDGE_AA_SCA_REGISTRY key should go before the BITCOIN_BRIDGE_ABI key
.env.bitcoin:22 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:22 UnorderedKey: The BITCOIN_BRIDGE_AA_KERNEL_FACTORY key should go before the BITCOIN_BRIDGE_AA_SCA_REGISTRY key
.env.bitcoin:23 UnorderedKey: The BITCOIN_EVM_ENABLE_LISTENER key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:24 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:24 UnorderedKey: The BITCOIN_EVM_RPC_HOST key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:25 UnorderedKey: The BITCOIN_EVM_RPC_PORT key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:26 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:26 UnorderedKey: The BITCOIN_EVM_CONTRACT_ADDRESS key should go before the BITCOIN_EVM_ENABLE_LISTENER key
.env.bitcoin:27 UnorderedKey: The BITCOIN_EVM_START_HEIGHT key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:28 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:28 UnorderedKey: The BITCOIN_EVM_DEPOSIT key should go before the BITCOIN_EVM_ENABLE_LISTENER key
.env.bitcoin:29 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:29 UnorderedKey: The BITCOIN_EVM_WITHDRAW key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:31 ExtraBlankLine: Extra blank line detected
.env.bitcoin:32 ExtraBlankLine: Extra blank line detected
.env.bitcoin:33 ExtraBlankLine: Extra blank line detected
.env.bitcoin:34 ExtraBlankLine: Extra blank line detected

dotenv-linter check fail, Check it later @robertcc0410

robertcc0410 commented 6 months ago
2023-12-22 05:02:05 [INFO]   File:[/github/workspace/.env.bitcoin]
2023-12-22 05:02:05 [ERROR]   Found errors in [dotenv-linter] linter!
2023-12-22 05:02:05 [ERROR]   Error code: 1. Command output:
------
Checking .env.bitcoin
.env.bitcoin:1 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:2 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:3 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:4 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:5 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:5 UnorderedKey: The BITCOIN_RPC_PASS key should go before the BITCOIN_RPC_PORT key
.env.bitcoin:6 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:7 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:7 UnorderedKey: The BITCOIN_DESTINATION key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:8 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:8 UnorderedKey: The BITCOIN_ENABLE_INDEXER key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:9 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:9 UnorderedKey: The BITCOIN_INDEXER_LISTEN_ADDRESS key should go before the BITCOIN_NETWORK_NAME key
.env.bitcoin:10 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:10 UnorderedKey: The BITCOIN_BRIDGE_ETH_RPC_URL key should go before the BITCOIN_DESTINATION key
.env.bitcoin:11 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:11 UnorderedKey: The BITCOIN_BRIDGE_CONTRACT_ADDRESS key should go before the BITCOIN_BRIDGE_ETH_RPC_URL key
.env.bitcoin:12 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:12 UnorderedKey: The BITCOIN_BRIDGE_ETH_PRIV_KEY key should go before the BITCOIN_BRIDGE_ETH_RPC_URL key
.env.bitcoin:13 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:13 UnorderedKey: The BITCOIN_BRIDGE_ABI key should go before the BITCOIN_BRIDGE_CONTRACT_ADDRESS key
.env.bitcoin:14 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:14 UnorderedKey: The BITCOIN_BRIDGE_GAS_LIMIT key should go before the BITCOIN_DESTINATION key
.env.bitcoin:15 UnorderedKey: The BITCOIN_ENABLE_COMMITTER key should go before the BITCOIN_ENABLE_INDEXER key
.env.bitcoin:16 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:16 UnorderedKey: The BITCOIN_STATE_HOST key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:17 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:17 UnorderedKey: The BITCOIN_STATE_PORT key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:18 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:18 UnorderedKey: The BITCOIN_STATE_USER key should go before the BITCOIN_WALLET_NAME key
.env.bitcoin:19 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:19 UnorderedKey: The BITCOIN_STATE_PASS key should go before the BITCOIN_STATE_PORT key
.env.bitcoin:20 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:20 UnorderedKey: The BITCOIN_STATE_DB_NAME key should go before the BITCOIN_STATE_HOST key
.env.bitcoin:21 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:21 UnorderedKey: The BITCOIN_BRIDGE_AA_SCA_REGISTRY key should go before the BITCOIN_BRIDGE_ABI key
.env.bitcoin:22 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:22 UnorderedKey: The BITCOIN_BRIDGE_AA_KERNEL_FACTORY key should go before the BITCOIN_BRIDGE_AA_SCA_REGISTRY key
.env.bitcoin:23 UnorderedKey: The BITCOIN_EVM_ENABLE_LISTENER key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:24 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:24 UnorderedKey: The BITCOIN_EVM_RPC_HOST key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:25 UnorderedKey: The BITCOIN_EVM_RPC_PORT key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:26 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:26 UnorderedKey: The BITCOIN_EVM_CONTRACT_ADDRESS key should go before the BITCOIN_EVM_ENABLE_LISTENER key
.env.bitcoin:27 UnorderedKey: The BITCOIN_EVM_START_HEIGHT key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:28 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:28 UnorderedKey: The BITCOIN_EVM_DEPOSIT key should go before the BITCOIN_EVM_ENABLE_LISTENER key
.env.bitcoin:29 QuoteCharacter: The value has quote characters (', ")
.env.bitcoin:29 UnorderedKey: The BITCOIN_EVM_WITHDRAW key should go before the BITCOIN_INDEXER_LISTEN_ADDRESS key
.env.bitcoin:31 ExtraBlankLine: Extra blank line detected
.env.bitcoin:32 ExtraBlankLine: Extra blank line detected
.env.bitcoin:33 ExtraBlankLine: Extra blank line detected
.env.bitcoin:34 ExtraBlankLine: Extra blank line detected

dotenv-linter check fail, Check it later @robertcc0410

done