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

[master] Add generated test txns to remote storage DB #2486

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

ansnunez
Copy link
Contributor

Description

Lookup::GenTxnToSend is used by developer testnets to generate test transactions.
Currently these test transactions are not inserted into the remote db.

Notes:

  1. In SendTxnPacketToNodes, SendTxnPacketPrepare is called twice (SendTxnPacketPrepare in turn calls GenTxnToSend), so we need to avoid duplicate insertion into the remote db during the second call.
  2. I also moved the check for USE_REMOTE_TXN_CREATOR from GenTxnToSend to SendTxnPacketPrepare so that we no longer see pointless "GenTxnToSend failed" messages in mainnet.

Backward Compatibility

  • This is not a breaking change
  • This is a breaking change

Review Suggestion

Status

Implementation

  • ready for review

Integration Test (Core Team)

  • local machine test
  • small-scale cloud test

@ansnunez ansnunez self-assigned this Mar 25, 2021
@github-actions github-actions bot changed the title Add generated test txns to remote storage DB [master] Add generated test txns to remote storage DB Mar 25, 2021
@github-actions github-actions bot added this to PRs in development in Core Mar 25, 2021
@ansnunez ansnunez moved this from PRs in development to PRs needing review in Core Mar 25, 2021
@ansnunez ansnunez added the Ready Ready for review label Mar 25, 2021
src/libLookup/Lookup.cpp Outdated Show resolved Hide resolved
Core automation moved this from PRs needing review to PRs approved - ready to merge! Mar 25, 2021
@ansnunez ansnunez merged commit 54c9468 into master Mar 25, 2021
Core automation moved this from PRs approved - ready to merge! to PRs done (merged) Mar 25, 2021
@ansnunez ansnunez deleted the remotedb-gentxn branch March 25, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready Ready for review
Projects
Core
  
PRs done (merged)
Development

Successfully merging this pull request may close these issues.

None yet

3 participants