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

Truffle integration #1

Open
lrettig opened this issue Jul 31, 2018 · 2 comments
Open

Truffle integration #1

lrettig opened this issue Jul 31, 2018 · 2 comments

Comments

@lrettig
Copy link
Collaborator

lrettig commented Jul 31, 2018

Requires #7

I'm stuck on the issue that truffle and cpp-ethereum (aleth) don't play nice, even regardless of Ewasm. When I try to deploy+test a basic truffle unboxed solidity contract onto my local aleth instance, I get the following RPC errors:

2018-08-01 21:40:14  rpc {"error":{"code":0,"data":null,"message":"Unknown account."},"id":14,"jsonrpc":"2.0"}
2018-08-01 21:40:14  rpc {"error":{"code":-32602,"message":"INVALID_PARAMS: Invalid method parameters (invalid name and/or type) recognised"},"id":1533174014721,"jsonrpc":"2.0"}

Full trace: https://gist.github.com/lrettig/63d7e941946a313ec460c6484cecfc82

Cf. ethereum/aleth#5160

@lrettig
Copy link
Collaborator Author

lrettig commented Aug 3, 2018

Worked around the "Unknown account" issue (see ethereum/aleth#5160). aleth is kinda sorta working with truffle for vanilla solc, on to trying to get it working with an Ewasm contract.

@nweller
Copy link

nweller commented Mar 23, 2019

Worked around the "Unknown account" issue (see ethereum/aleth#5160). aleth is kinda sorta working with truffle for vanilla solc, on to trying to get it working with an Ewasm contract.

Is your work on this already available somewhere or could you make it available?

For a solc compiler testing framework (SOLTIX), I'd like to add an option to use aleth instead of ganache-cli as a truffle blockchain backend. Ideally I'd like to have a self-contained shell script that starts an aleth instance which plays well with truffle for simple contract deployments, transactions, and listing emited events. A kinda sorta working setup for vanilla solc would be a great starting point.

Thanks!

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

2 participants