Deployment Error Using Ganache (msg.value) #5450
Unanswered
mrghubba
asked this question in
General Q&A
Replies: 1 comment
-
Hey @mrghubba! As per the other discussion topic...are you referring to this project: https://github.com/0xProject/0x-api-starter-guide-code? If so I'd probably recommend doing it all locally given the README requires a number of dependencies, configuration, etc. If not, a repo with both the contract code (as provided in the pastebin) along with all the other config, scripts, etc would be helpful to help troubleshoot too if that's something you can share? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm having an issue with 'msg.value' within my 0x token swap API code. Here is my code:
https://pastebin.com/RfCH8gMk
I'm using Ganache within Remix IDE.
When I deploy sending 1 e18 Wei, the transaction is reverted:
https://paste.pics/I5EML
When I deploy sending 0 Wei and I fill in the parameters in the 'Pay' function......
https://paste.pics/I4LA1
I get the 'Empty Call Data Without Swap' Error:
https://paste.pics/I5EO1
Is there a way around this?
Beta Was this translation helpful? Give feedback.
All reactions