-
Notifications
You must be signed in to change notification settings - Fork 27
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
EIP-29 attachment implementation #154
Conversation
…tRegisters wrong order of returned list
appkit/src/test/scala/org/ergoplatform/appkit/Eip29AttachmentTest.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/ergoplatform/appkit/Eip29Attachment.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/ergoplatform/appkit/Eip29Attachment.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/ergoplatform/appkit/Eip29Attachment.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/ergoplatform/appkit/Eip29Attachment.java
Outdated
Show resolved
Hide resolved
lib-impl/src/main/java/org/ergoplatform/appkit/impl/Eip29AttachmentBuilder.java
Outdated
Show resolved
Hide resolved
lib-impl/src/main/java/org/ergoplatform/appkit/impl/OutBoxBuilderImpl.scala
Show resolved
Hide resolved
lib-impl/src/main/java/org/ergoplatform/appkit/impl/Eip29AttachmentBuilder.java
Outdated
Show resolved
Hide resolved
Added a unit test demonstrating the type declaration problem, please take a look. |
The test is fixed but intErgoValue.getValue() still returns an Integer but declares to return scala.Int - so the declaration is still not correct and the test fix works because it is going through a Scala layer. The test itself is not the problem, it was just my demonstration. We've got to make the following decision: should the ErgoValue<> contain Scala types or not?
|
# Conflicts: # appkit/src/test/scala/org/ergoplatform/appkit/TxBuilderSpec.scala
Adds implementation for current version of ergoplatform/eips#58