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

[Debugging] fix test "testContractTransaction1" #18

Open
bbulgu opened this issue Jun 12, 2021 · 0 comments
Open

[Debugging] fix test "testContractTransaction1" #18

bbulgu opened this issue Jun 12, 2021 · 0 comments

Comments

@bbulgu
Copy link
Contributor

bbulgu commented Jun 12, 2021

  1. testContractTransaction1: After building the docker container and running the simulation using the README provided in the github repo, testcon.sol is compiled into testcon.bin. I simply copied that file into the root directory of the project. Before doing this, testContractTransaction1 was failing because it couldn't find testcon.bin.

The compilation of the testcon.sol takes place in line 12 of the dockerfile

The possible solutions I can think of are:

a) just keep the compiled testcon.bin file in the repo — this is in fact what I pushed to the branch

b) figure out a way to do the compilation in the test itself. https://ethereum.stackexchange.com/questions/16299/compiling-smart-contract-in-java has a solution using processbuilder - 7 lines

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

No branches or pull requests

1 participant