-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: dev
Are you sure you want to change the base?
Conversation
nastenko
commented
Oct 15, 2020
- 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
There was a problem hiding this 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){ |
There was a problem hiding this comment.
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){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here