-
Notifications
You must be signed in to change notification settings - Fork 537
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I am deploying ERC 4337 account abstraction entry point contract (version 6) and it has function simulateValidation that reverts ValidationResult and has uint data type, while calling this function I am unable to get the values in ValidationResult due to which my dapp is stuck at that point. I tried it with a simple contract that returns a uint value to check if it is the problem with ERC 4337 or frontier still got the same error.
Steps to Reproduce
- Go to 'remix'
- Paste the following contract in a new
abc.solfile:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
contract MyToken {
constructor() {}
error dd(uint f);
error cc(uint v, string bb);
function mint() public pure {
// _mint(to, amount);
revert dd(5);
}
function get(uint a) external pure {
require(a>6, "more err");
}
function set() external pure {
revert("ffffff");
}
function met() external pure {
revert cc(6, "nnnnnn");
}
}
- Deploy the contract using solidity compiler version
0.8.17 - Now call the mint function
Expected vs. Actual Behavior
Expected behaviour is as shown in the below screenshot:
But when I am deploying using the frontier client I am not getting any logs as you can see in the following screenshot:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working