PacktPublishing / Blockchain-By-Example

Blockchain By Example published by Packt
MIT License
78 stars 58 forks source link

Chapter 4 Car Auction running auction.sol on Remix IDE #1

Closed walter-grace closed 5 years ago

walter-grace commented 5 years ago

I am currently reading the ebook and I am following along on the ETH section; I copied and paste your code from github; it seems the Auction smart contract works, but I am having issues with MyAuction creation of MyAuction errored: Error encoding arguments: Error: invalid address (arg="", type="string", value="") Here is the error I am getting, any help would be great

walter-grace commented 5 years ago

Now I am getting this error after having it work a few times on both contracts creation of Auction errored: VM Exception while processing transaction: revert

bellaj commented 5 years ago

When you deploy the contract you need to define the arguments of the constructor in the input in front of deploy button.Here's an example 1564790400,0x953a435b43b605079b42b5e26922d425fdc31c89, "audi", 1999

innnn

walter-grace commented 5 years ago

Yes indeed that worked!