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

fix(mirror): queue fake blocks for initial create account txs #11336

Merged

Conversation

marcelo-gonzalez
Copy link
Contributor

This reverts commit e301c09 from #11325. This small commit was not necessary, and actually incorrect, because there's an assumption that changed access keys will only appear in SentBatch::MappedBlock(). Otherwise we hit an assertion here:

assert!(tx.nonce_updates.is_empty());

This reverts commit e301c09 from
near#11325. This small commit
was not necessary, and actually incorrect, because there's an assumption
that changed access keys will only appear in SentBatch::MappedBlock(). Otherwise
we hit an assertion here: https://github.com/near/nearcore/blob/510948178c5920c614448dc7bcce72873a1655fd/tools/mirror/src/chain_tracker.rs#L1026
@marcelo-gonzalez marcelo-gonzalez requested a review from a team as a code owner May 17, 2024 04:58
Copy link

codecov bot commented May 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 71.04%. Comparing base (5109481) to head (c76700d).

Files Patch % Lines
tools/mirror/src/lib.rs 0.00% 12 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11336   +/-   ##
=======================================
  Coverage   71.03%   71.04%           
=======================================
  Files         783      783           
  Lines      156790   156797    +7     
  Branches   156790   156797    +7     
=======================================
+ Hits       111381   111400   +19     
+ Misses      40594    40575   -19     
- Partials     4815     4822    +7     
Flag Coverage Δ
backward-compatibility 0.24% <0.00%> (-0.01%) ⬇️
db-migration 0.24% <0.00%> (-0.01%) ⬇️
genesis-check 1.39% <0.00%> (-0.01%) ⬇️
integration-tests 37.07% <0.00%> (+<0.01%) ⬆️
linux 68.96% <0.00%> (+0.01%) ⬆️
linux-nightly 70.49% <0.00%> (+0.02%) ⬆️
macos 52.32% <0.00%> (-0.08%) ⬇️
pytests 1.61% <0.00%> (-0.01%) ⬇️
sanity-checks 1.41% <0.00%> (-0.01%) ⬇️
unittests 65.49% <0.00%> (+<0.01%) ⬆️
upgradability 0.29% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcelo-gonzalez marcelo-gonzalez added this pull request to the merge queue May 18, 2024
Merged via the queue into near:master with commit 9063a2c May 18, 2024
29 checks passed
@marcelo-gonzalez marcelo-gonzalez deleted the mirror-create-accounts branch May 18, 2024 17:30
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.

None yet

2 participants