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

Exec changes for 3.4.0 #2613

Merged
merged 4 commits into from
Aug 5, 2022
Merged

Exec changes for 3.4.0 #2613

merged 4 commits into from
Aug 5, 2022

Conversation

roman-khimov
Copy link
Member

@roman-khimov roman-khimov added this to the v0.99.1 milestone Jul 27, 2022
@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #2613 (e8d2277) into master (1ff588a) will decrease coverage by 0.01%.
The diff coverage is 92.15%.

@@            Coverage Diff             @@
##           master    #2613      +/-   ##
==========================================
- Coverage   84.51%   84.49%   -0.02%     
==========================================
  Files         299      301       +2     
  Lines       37882    38115     +233     
==========================================
+ Hits        32016    32206     +190     
- Misses       4458     4503      +45     
+ Partials     1408     1406       -2     
Impacted Files Coverage Δ
pkg/core/transaction/witness_scope.go 84.48% <ø> (ø)
pkg/core/interop/runtime/witness.go 94.56% <33.33%> (-2.18%) ⬇️
pkg/vm/interop.go 60.71% <33.33%> (+1.45%) ⬆️
pkg/vm/vm.go 93.45% <93.33%> (+0.04%) ⬆️
pkg/vm/context.go 88.48% <97.05%> (+0.35%) ⬆️
pkg/core/interop/contract/call.go 74.61% <100.00%> (+0.80%) ⬆️
pkg/core/interop/runtime/engine.go 95.71% <100.00%> (+0.19%) ⬆️
pkg/core/transaction/witness_condition.go 97.36% <100.00%> (-0.01%) ⬇️
pkg/rpcclient/native.go 60.00% <0.00%> (-10.74%) ⬇️
cli/server/server.go 70.14% <0.00%> (-10.24%) ⬇️
... and 33 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@roman-khimov roman-khimov modified the milestones: v0.99.1, v0.99.2 Jul 28, 2022
@roman-khimov roman-khimov marked this pull request as ready for review August 4, 2022 15:19
pkg/vm/vm.go Show resolved Hide resolved
pkg/vm/vm.go Outdated Show resolved Hide resolved
pkg/core/interop/contract/call.go Show resolved Hide resolved
Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, can we adjust CalledByEntry enum documentation wrt these strict changes? We have it inside the transaction package and inside the ledger interop package (SignerScope).

Local calls reuse them, cross-contract calls create new ones. This allows to
avoid some allocations and use a little less memory.
@roman-khimov
Copy link
Member Author

inside the ledger interop package (SignerScope).

I think it's OK as is.

And determine the need for Null dynamically. For some reason the only dynamic
context is Contract.Call. CALLT is not dynamic and neither is a call from
native contract, go figure...
@roman-khimov
Copy link
Member Author

I guess gofmt fails because of Go 1.19.

@roman-khimov roman-khimov merged commit b8a4a6d into master Aug 5, 2022
@roman-khimov roman-khimov deleted the exec-changes-3.4.0 branch August 5, 2022 12:04
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