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

Feat/RelayedV3 #5741

Draft
wants to merge 41 commits into
base: rc/v1.7.next1
Choose a base branch
from
Draft

Feat/RelayedV3 #5741

wants to merge 41 commits into from

Conversation

sstanculeanu
Copy link
Contributor

Reasoning behind the pull request

  • relayed tx v3

Proposed changes

  • implemented relayed tx v3. Now the inner tx is a full tx, held by the parent tx in a new field InnerTransaction
  • fixed relayed fee on relayed move balance

Testing procedure

  • standard system test
  • test relayed v1 and relayed v2 fees for all kind of transactions(failure/refund scenarios to be verified as well)
  • test relayed v3 transaction execution + fees

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

…into feat/relayedv3

# Conflicts:
#	api/groups/transactionGroup.go
#	cmd/node/config/enableEpochs.toml
#	common/enablers/enableEpochsHandler.go
#	common/enablers/enableEpochsHandler_test.go
#	common/enablers/epochFlags.go
#	common/interface.go
#	config/epochConfig.go
#	config/tomlConfig_test.go
#	go.mod
#	go.sum
#	integrationTests/multiShard/relayedTx/relayedTx_test.go
#	integrationTests/vm/txsFee/relayedScDeploy_test.go
#	node/node.go
#	process/errors.go
#	process/transaction/shardProcess_test.go
#	testscommon/enableEpochsHandlerMock/enableEpochsHandlerStub.go
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

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

Project coverage is 78.77%. Comparing base (c00c31f) to head (d31d68b).
Report is 88 commits behind head on rc/v1.7.next1.

❗ Current head d31d68b differs from pull request most recent head ab49574. Consider uploading reports for the commit ab49574 to get more accurate results

Files Patch % Lines
api/groups/transactionGroup.go 59.82% 44 Missing and 1 partial ⚠️
node/external/transactionAPI/unmarshaller.go 0.00% 2 Missing and 2 partials ⚠️
node/node.go 33.33% 3 Missing and 1 partial ⚠️
process/transaction/shardProcess.go 91.42% 2 Missing and 1 partial ⚠️
process/constants.go 0.00% 2 Missing ⚠️
process/transaction/interceptedTransaction.go 98.00% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           rc/v1.7.next1    #5741      +/-   ##
=================================================
- Coverage          78.81%   78.77%   -0.05%     
=================================================
  Files                752      752              
  Lines              98368    98137     -231     
=================================================
- Hits               77532    77308     -224     
- Misses             15598    15604       +6     
+ Partials            5238     5225      -13     

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

sstanculeanu and others added 7 commits January 30, 2024 11:06
…into feat/relayedv3

# Conflicts:
#	common/constants.go
#	common/enablers/enableEpochsHandler.go
#	common/enablers/enableEpochsHandler_test.go
#	config/epochConfig.go
#	config/tomlConfig_test.go
#	go.mod
#	go.sum
#	node/metrics/metrics_test.go
#	process/errors.go
…dv3_2024.01.30

Merge rc170 into feat relayedv3 2024.01.30
added api check for recursive relayed v3 + fixed interceptor
@sstanculeanu sstanculeanu changed the base branch from rc/v1.7.0 to rc/v1.7.next1 March 22, 2024 11:09
sstanculeanu and others added 7 commits March 22, 2024 13:42
…n-go into feat/relayedv3

# Conflicts:
#	cmd/node/config/enableEpochs.toml
#	common/constants.go
#	common/enablers/enableEpochsHandler.go
#	common/enablers/enableEpochsHandler_test.go
#	config/epochConfig.go
#	config/tomlConfig_test.go
#	genesis/process/shardGenesisBlockCreator.go
#	go.mod
#	go.sum
#	integrationTests/vm/txsFee/multiShard/relayedMoveBalance_test.go
#	integrationTests/vm/txsFee/relayedBuiltInFunctions_test.go
#	integrationTests/vm/txsFee/relayedESDT_test.go
#	integrationTests/vm/txsFee/relayedScCalls_test.go
#	integrationTests/vm/txsFee/relayedScDeploy_test.go
#	node/metrics/metrics_test.go
#	node/node_test.go
…layedv3_2024.03.22

Merge rc17next1 into feat relayedv3 2024.03.22
…n-go into feat/relayedv3

# Conflicts:
#	common/constants.go
#	common/enablers/enableEpochsHandler.go
#	common/enablers/enableEpochsHandler_test.go
#	config/epochConfig.go
#	config/tomlConfig_test.go
#	go.mod
#	go.sum
#	integrationTests/multiShard/relayedTx/relayedTxV2_test.go
#	integrationTests/multiShard/relayedTx/relayedTx_test.go
#	integrationTests/vm/txsFee/moveBalance_test.go
#	integrationTests/vm/txsFee/relayedBuiltInFunctions_test.go
#	integrationTests/vm/txsFee/relayedScCalls_test.go
#	process/errors.go
…layedv3_2024.05.15

Merge rc17next1 into feat/relayedv3 2024.05.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants