Skip to content

Instantly share code, notes, and snippets.

@akolotov
Last active March 15, 2018 22:02
Show Gist options
  • Save akolotov/13a014bc698e483dd36773bbf462a76f to your computer and use it in GitHub Desktop.
Save akolotov/13a014bc698e483dd36773bbf462a76f to your computer and use it in GitHub Desktop.
Bridge dies with 'eth_sendTransaction timed out' message during stress testing
estimated_gas_cost_of_withdraw = "200000"
max_total_home_contract_balance = "10000000000000000000"
max_single_deposit_value = "1000000000000000000"
[home]
account = "0x842eb2142c5aa1260954f07aae39ddee1640c3a7"
ipc = "/home/koal/parity/Sokol_home/jsonrpc.ipc"
required_confirmations = 1
poll_interval = 5
request_timeout = 10
[home.contract]
bin = "contracts.opt/HomeBridge.bin"
[foreign]
account = "0xf3ee321df87781864f46f6464e764c2827fca73b"
ipc = "/opt/storage/Ropsten/jsonrpc.ipc"
required_confirmations = 1
poll_interval = 20
request_timeout = 10
[foreign.contract]
bin = "contracts.opt/ForeignBridge.bin"
[authorities]
accounts = [
"0xf3ee321df87781864f46f6464e764c2827fca73b"
]
required_signatures = 1
[transactions]
home_deploy = { gas = 3000000, gas_price = 1000000000 }
foreign_deploy = { gas = 3000000, gas_price = 5000000000 }
deposit_relay = { gas = 300000, gas_price = 5000000000 }
withdraw_confirm = { gas = 300000, gas_price = 5000000000 }
withdraw_relay = { gas = 300000, gas_price = 1000000000 }
INFO:bridge: Parsing cli arguments
INFO:bridge: Loading config
INFO:bridge: Starting event loop
INFO:bridge: Establishing ipc connection
INFO:bridge: Deploying contracts (if needed)
INFO:bridge: Loaded database
INFO:bridge: Starting listening to events
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::withdraw_relay: got 0 new signed withdraws to relay
INFO:bridge::bridge::withdraw_relay: fetching messages and signatures
INFO:bridge::bridge::withdraw_relay: fetching messages and signatures complete
INFO:bridge::bridge::withdraw_relay: messages decoded
INFO:bridge::bridge::withdraw_relay: signatures decoded
INFO:bridge::bridge::withdraw_relay: relaying 0 withdraws
INFO:bridge::bridge::withdraw_relay: relaying withdraws complete
INFO:bridge::bridge::withdraw_relay: waiting for signed withdraws to relay
INFO:bridge::bridge::withdraw_confirm: got 0 new withdraws to sign
INFO:bridge::bridge::withdraw_confirm: signing
INFO:bridge::bridge::withdraw_confirm: signing complete
INFO:bridge::bridge::withdraw_confirm: submitting 0 signatures
INFO:bridge::bridge::withdraw_confirm: submitting signatures complete
INFO:bridge::bridge::withdraw_confirm: waiting for new withdraws that should get signed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::withdraw_relay: got 0 new signed withdraws to relay
INFO:bridge::bridge::withdraw_relay: fetching messages and signatures
INFO:bridge::bridge::withdraw_relay: fetching messages and signatures complete
INFO:bridge::bridge::withdraw_relay: messages decoded
INFO:bridge::bridge::withdraw_relay: signatures decoded
INFO:bridge::bridge::withdraw_relay: relaying 0 withdraws
INFO:bridge::bridge::withdraw_relay: relaying withdraws complete
INFO:bridge::bridge::withdraw_relay: waiting for signed withdraws to relay
INFO:bridge::bridge::withdraw_confirm: got 0 new withdraws to sign
INFO:bridge::bridge::withdraw_confirm: signing
INFO:bridge::bridge::withdraw_confirm: signing complete
INFO:bridge::bridge::withdraw_confirm: submitting 0 signatures
INFO:bridge::bridge::withdraw_confirm: submitting signatures complete
INFO:bridge::bridge::withdraw_confirm: waiting for new withdraws that should get signed
INFO:bridge::bridge::deposit_relay: got 0 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 0 deposits
INFO:bridge::bridge::deposit_relay: deposit relay completed
INFO:bridge::bridge::deposit_relay: got 60 new deposits to relay
INFO:bridge::bridge::deposit_relay: relaying 60 deposits
Request eth_sendTransaction timed out
home_contract_address = "0x2131082cb72240db8f97e3c09fe0daa14c0ad587"
foreign_contract_address = "0xf271aca32367d7db38b1494bcd63ac46b6619c6b"
home_deploy = 1417966
foreign_deploy = 2838078
checked_deposit_relay = 1428548
checked_withdraw_relay = 2842448
checked_withdraw_confirm = 2842448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment