Skip to main content

Timeline for Transaction "Revert" Error

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Sep 28, 2020 at 9:46 vote accept Raven
Sep 28, 2020 at 7:20 comment added goodvibration @Raven: As I mentioned in the answer, note that function swapEtherToToken might be requiring you to pass the amount both in the input parameter and in the transaction value (for consistency, in order to make sure you know what you're doing).
Sep 28, 2020 at 7:18 comment added Raven I just got rid of the "uint256 quantity" and replaced it with msg.value in the function I mean.
Sep 28, 2020 at 7:15 comment added goodvibration @Raven: "change my function to function etherToDai() payable returns (uint256)"??? That's exactly how it's defined in your question!
Sep 28, 2020 at 7:08 comment added Raven By passing a value, do you mean replacing quantity with "msg.value", and then change my function to function etherToDai() payable returns (uint256) ? Now, it won't let me chose how much ether I want to send, and it only pays gas. And it still fails with the same error.
Sep 28, 2020 at 6:52 comment added goodvibration @Raven: See updated answer.
Sep 28, 2020 at 6:52 history edited goodvibration CC BY-SA 4.0
added 451 characters in body
Sep 28, 2020 at 6:24 comment added Raven I made that change, but I still get the same cryptic error =(
Sep 28, 2020 at 6:16 comment added goodvibration @Raven: See updated answer.
Sep 28, 2020 at 6:16 history edited goodvibration CC BY-SA 4.0
added 242 characters in body
Sep 28, 2020 at 6:13 comment added Raven I'm able to get the output of { "0": "uint256: expectedRate 320076140761407614076", "1": "uint256: slippageRate 310473856538565385653" } with this change, however, when I uncomment the last 3 lines I get the same error. I'm trying to convert my ETH into DAI over Kyber
Sep 28, 2020 at 6:00 history answered goodvibration CC BY-SA 4.0