-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bump oasis-core version to 20.9 #36
Conversation
and then it fails all the retries because the tx already exists
|
Hm, why is the deadline suddenly exceeded, is the transaction not included in a block for some reason?
Yeah that should be a trivial change, just change the method name.
Yeah this would probably be in line with Rosetta semantics (no error if transaction is added to mempool). We could add a proper error type for this on the Oasis Core side so that you wouldn't need to match strings (we support transporting actual error codes across RPC boundaries). |
what's the method for the non-wait submit? |
I had the tests succeed locally, so maybe it really is the timing. did 20.9 have a performance regression? |
|
oh it's |
well this error's just silly the CLI test is just killing itself by going over its broadcast limit edit: oh nvm the limit is on retries |
ok what's confusing me now is that in https://github.com/oasisprotocol/oasis-core-rosetta-gateway/runs/977917540
shows up after several lines of
but in the code https://github.com/coinbase/rosetta-cli/blob/v0.4.0/internal/constructor/constructor.go#L965-L968 it's supposed to log before it tries to broadcast |
eh, maybe differences in flushing between |
no, weirder. those submissions must be coming from a different goroutine. I added some debugging in rosetta-cli, and it's being broadcast as part of |
ok I give up on this bug. I'm going to investigate the test failure in #35, which comes after the switch to non-block submission |
naw, you know what? maybe it is the flushing. those lines at the end
are all normally colored text. |
didn't help to wrap rosetta-cli in |
oh, all of that above the normally-colored lines was from the gateway. it's awk then |
94817e9
to
b0cf662
Compare
correction: no it was not all from the gateway. there was another logging system in place, going to stderr |
0a10ca4
to
c1db72f
Compare
ok there's new advice on this blocks-produced-very-fast issue #38 (comment) let's see if we can go without 0a10ca4 |
https://github.com/oasisprotocol/oasis-core-rosetta-gateway/runs/995090078 nice, we're back to badger flake-outs |
fixes #30