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

SC132 related updates in transactions; Tests for the Lambo-transactions #7

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

nastenko
Copy link
Member

  • SC132: Updates of the Lambo-transactions related to the modification of a nonce computation in SDK;
  • AbstractRegularTransaction is now imported from SDK;
  • Tests for the Lambo-transactions: BuyCarTransaction, CarDeclarationTransaction, SellCarTransaction.

… computation in SDK; AbstractRegularTransaction is imported from SDK; Transactions tests and fixes
Copy link
Contributor

@i-Alex i-Alex left a comment

Choose a reason for hiding this comment

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

Please check the whitespaces policy for you code editor. I can see a lot of empty changes in this PR (solution for me was to hide whitespace changes in github settings).

@Override
public List<NoncedBoxData<Proposition, NoncedBox<Proposition>>> getOutputData(){
List<NoncedBoxData<Proposition, NoncedBox<Proposition>>> allBoxesData = new ArrayList<>();
for(RegularBoxData regularBoxData: outputRegularBoxesData){
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer to have outputRegularBoxesData processed in AbstractRegularTransaction::getOutputData method, then call super method here.

@Override
public List<NoncedBoxData<Proposition, NoncedBox<Proposition>>> getOutputData(){
List<NoncedBoxData<Proposition, NoncedBox<Proposition>>> allBoxesData = new ArrayList<>();
for(RegularBoxData regularBoxData: outputRegularBoxesData){
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

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.

2 participants