Skip to content

Instantly share code, notes, and snippets.

View akolotov's full-sized avatar

Alexander Kolotov akolotov

  • 08:34 (UTC -06:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am akolotov on github.
  • I am alexkolotov (https://keybase.io/alexkolotov) on keybase.
  • I have a public key whose fingerprint is 9768 64EB 1FDC 1264 791D EF12 D985 060E 9535 DD3B

To claim this, I am signing this object:

@akolotov
akolotov / config.toml
Created March 16, 2018 06:10
Bridge continiously sending transactions with 'eth_sendTransaction timed out' message during stress testing
estimated_gas_cost_of_withdraw = 0
[home]
account = "0x842eb2142c5aa1260954f07aae39ddee1640c3a7"
ipc = "/home/koal/parity/Sokol_home/jsonrpc.ipc"
required_confirmations = 1
poll_interval = 5
request_timeout = 10
[home.contract]
@akolotov
akolotov / config.toml
Last active March 15, 2018 22:02
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
@akolotov
akolotov / 01_info_level.md
Created February 11, 2018 22:21
parity-bridge log levels examples

Investigation of parity-bridge logging facility (part I)

Examples of logs generated with info log level

env RUST_LOG=info ./bridge --config config.toml --database db.toml
@akolotov
akolotov / contract.sol
Last active February 10, 2018 19:39
Contract creation with the same address in two different networks without knowing a private key of account
contract TheSameAddress {
address public owner;
function TheSameAddress() public{
owner = msg.sender;
}
}