Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: bridge sends out transactions slowly #66

Merged
merged 2 commits into from
May 4, 2018

Conversation

yrashk
Copy link
Contributor

@yrashk yrashk commented May 4, 2018

This is because it is limiting them to one at a time
per operation type. This was done so that there's no
gaps in nonces due to undelivered transactions.

Solution: allow concurrent sending of transactions

By default, 100 transactions are allowed.

Note, however, that now there's a chance that nonce
gaps may be formed under cerain circumstances.

yrashk added 2 commits May 3, 2018 14:14
This is because it is limiting them to one at a time
per operation type. This was done so that there's no
gaps in nonces due to undelivered transactions.

Solution: allow concurrent sending of transactions

By default, 100 transactions are allowed.

Note, however, that now there's a chance that nonce
gaps may be formed under cerain circumstances.
@ghost ghost assigned yrashk May 4, 2018
@ghost ghost added the in progress label May 4, 2018
@akolotov akolotov merged commit 009d40a into omni:master May 4, 2018
@ghost ghost removed the in progress label May 4, 2018
noot pushed a commit to noot/poa-bridge that referenced this pull request Jul 18, 2018
* readme: add section on running truffle tests

* extract `sign` from test/foreign into test/helpers and improve it

* add test helper signatureToVRS

* add test helper bigNumberToHexString

* add test helper bigNumberToPaddedBytes32

* add test "should allow correct withdraw" which fails and exposes omni#61

* resolve omni#61 and document it

* fix typo

* fix typo

* use num.toString(16) instead of bigNumberToHexString

paritytech/parity-bridge#66 (comment)

* add comment

* use explicit transaction hash

* add test "withdraw without funds on HomeBridge should fail"

* add test "should not allow withdraw with message.length != 84"

* add test ""should allow second withdraw with different transactionHash but same recipient and value"

* add test "should not allow second withdraw with same transactionHash but different recipient and value"

* fix typo

* bridge.sol: add note that anyone can call HomeBridge.withdraw

* test that anyone can call withdraw provided they have the message and signatures

* test/home.js: improve wording of test
noot pushed a commit to noot/poa-bridge that referenced this pull request Jul 18, 2018
Problem: bridge sends out transactions slowly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants