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

Remove unused functionality from the InternalTransactionInterface #892

Merged
merged 1 commit into from
May 1, 2019

Conversation

arajasek
Copy link
Contributor

@arajasek arajasek commented May 1, 2019

Notice

It is not allowed to submit your PR to the master branch directly, please submit your PR to the master-pre-merge branch.

Description

These methods were forcing us to leave several methods unimplemented in the AVM. Since they are not used anywhere, and aren't consensus-critical, we can just take them out.

Type of change

Insert x into the following checkboxes to confirm (eg. [x]):

  • Bug fix.
  • New feature.
  • Enhancement.
  • Unit test.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

Testing

Passes the CI

Verification

Insert x into the following checkboxes to confirm (eg. [x]):

  • I have self-reviewed my own code and conformed to the style guidelines of this project.
  • New and existing tests pass locally with my changes.
  • I have added tests for my fix or feature.
  • I have made appropriate changes to the corresponding documentation.
  • My code generates no new warnings.
  • Any dependent changes have been made.

@arajasek arajasek added the enhancement New feature or request label May 1, 2019
@arajasek arajasek added this to the 0.4.0 milestone May 1, 2019
@arajasek arajasek requested review from AionJayT and aionick May 1, 2019 16:18
@arajasek arajasek self-assigned this May 1, 2019
@arajasek arajasek force-pushed the aayush-internalTx branch from 04624d3 to efb79fd Compare May 1, 2019 17:33
@@ -287,18 +287,6 @@ public void testRecursiveCall() throws InterruptedException, VMException {
AionTxExecSummary summary = exec.execute().get(0);

assertEquals(2, summary.getInternalTransactions().size());

Copy link
Collaborator

Choose a reason for hiding this comment

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

reason for removing the test section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The functions tested in this section are being deleted

@arajasek arajasek force-pushed the aayush-internalTx branch 4 times, most recently from 0c2138b to 542b133 Compare May 1, 2019 18:28
@arajasek arajasek force-pushed the aayush-internalTx branch from 542b133 to 7b86380 Compare May 1, 2019 18:49
@AionJayT AionJayT merged commit 1c66cce into master-pre-merge May 1, 2019
@AionJayT AionJayT deleted the aayush-internalTx branch May 2, 2019 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants