Forum

ERC20 - ERC20 bridge stuck at "Validators Verifying Transaction..."

Hello!

I have deployed my own ERC20-ERC20 bridge following this tutorial: link.
The contracts were deployed without problems, the oracle (docker containers) seems to also run correctly. But the problem is that when I run the UI and try to transfer tokens from one chain to the other the proceess gets stuck at Validators Verifying Transaction…. I have repeated the whole tutorial a few times by now and every time I get the same result…I’m lossing my mind :sweat_smile: . The contracts where deployed by the 0xb23cE11A77ca8aF44e6aF4bC6700AFd3F374a42e address and the token transfer via the bridge was done with the 0xfDe576CdE9cf7Eece620814CFA2F61833F06c4c3 address.

Has anybody experienced a similiar problem? Or does anybody any idea what could I be doing wrong?

Here are my contracts:

  • Home Bridge (POA sokol testnet): 0x8a58E1b61CD2dee427EFdE351d3038385A7caC20
  • Foreign bridge (Kovan): 0x7FDffe03033F61e307E425838BdBFF860359e0B2
  • ERC20 token (Kovan): 0xbe9AE8406714f7Cc4105f1d6028E9c882Cc1B239
  • ERC20 token (POA Sokol): 0xe203a36476b1d72201EfAaaeC9ED68085c1f630d

And here is my oracle configuration:

ORACLE_BRIDGE_MODE=ERC_TO_ERC
ORACLE_HOME_RPC_POLLING_INTERVAL=5000
ORACLE_FOREIGN_RPC_POLLING_INTERVAL=1000
ORACLE_ALLOW_HTTP_FOR_RPC=no
COMMON_HOME_RPC_URL=https://sokol.poa.network
COMMON_FOREIGN_RPC_URL=https://kovan.infura.io/v3/censored*
COMMON_HOME_BRIDGE_ADDRESS=0x8a58E1b61CD2dee427EFdE351d3038385A7caC20
COMMON_FOREIGN_BRIDGE_ADDRESS=0x7FDffe03033F61e307E425838BdBFF860359e0B2

ORACLE_VALIDATOR_ADDRESS_PRIVATE_KEY=censored
ORACLE_VALIDATOR_ADDRESS=0xb23ce11a77ca8af44e6af4bc6700afd3f374a42e
COMMON_HOME_GAS_PRICE_SUPPLIER_URL=https://gasprice.poa.network/
COMMON_HOME_GAS_PRICE_SPEED_TYPE=standard
COMMON_HOME_GAS_PRICE_FALLBACK=1000000000
ORACLE_HOME_GAS_PRICE_UPDATE_INTERVAL=600000
COMMON_HOME_GAS_PRICE_FACTOR=1

COMMON_FOREIGN_GAS_PRICE_SUPPLIER_URL=https://gasprice.poa.network/
COMMON_FOREIGN_GAS_PRICE_SPEED_TYPE=standard
COMMON_FOREIGN_GAS_PRICE_FALLBACK=1000000000
ORACLE_FOREIGN_GAS_PRICE_UPDATE_INTERVAL=600000
COMMON_FOREIGN_GAS_PRICE_FACTOR=1

ORACLE_QUEUE_URL=amqp://rabbit
ORACLE_REDIS_URL=redis://redis

ORACLE_HOME_START_BLOCK=18225557
ORACLE_FOREIGN_START_BLOCK=22475258

ORACLE_LOG_LEVEL=debug
ORACLE_MAX_PROCESSING_TIME=20000
ORACLE_RPC_REQUEST_TIMEOUT=5000

ORACLE_HOME_TO_FOREIGN_ALLOWANCE_LIST=access-lists/allowance_list.txt
ORACLE_HOME_TO_FOREIGN_BLOCK_LIST=access-lists/block_list.txt
ORACLE_HOME_TO_FOREIGN_CHECK_SENDER=false

#Uncomment these lines only if you are going to send transaction by testing scripts
#USER_ADDRESS=0x59c4474184579b9c31b5e51445b6eef91cebf370
#USER_ADDRESS_PRIVATE_KEY=
#HOME_MIN_AMOUNT_PER_TX=0.001
#FOREIGN_MIN_AMOUNT_PER_TX=0.001
#HOME_TEST_TX_GAS_PRICE=1000000000
#FOREIGN_TEST_TX_GAS_PRICE=1000000000

Any help will be greatly appreciated!!! :grin: :grin: :grin:

1 Like

@l0kol hi!

First of all, I assume that you don’t want to use the block and allowance lists at the same time. Moreover, on this stage you could remove ORACLE_HOME_TO_FOREIGN_ALLOWANCE_LIST, ORACLE_HOME_TO_FOREIGN_BLOCK_LIST and ORACLE_HOME_TO_FOREIGN_CHECK_SENDER at all. Most probably, this is a root cause of the issue you are experiencing: the bridge oracle does not handle the withdrawal requests since the sender address is not in the allowance list.

If after these modification the issue still exists, it makes sense to share the logs your oracles workers are producing.

3 Likes

Hello!

Thank you for the reply!! :slight_smile:

I have tried deleting those 3 lines, but the issue is still here :confused: . I have copied all my complete logs here: gist