Replies: 3 comments
-
Hello,
|
Beta Was this translation helpful? Give feedback.
-
And this the error log when I try to send Dai from the multiSig address (custom account) using this code
error log
|
Beta Was this translation helpful? Give feedback.
-
I resolved my problem, in fact you must becareful when using this code to get the deployed account address
|
Beta Was this translation helpful? Give feedback.
-
Environment
Testnet
Provide a brief description of the functionality you're trying to implement.
I want to implement a public function in a custom account that allows to send Eth from the custom account address to the owner
What is the specific issue or error you're encountering?
No errors. However, when i call that function it is executed successfully but no eth is sent from the abstraction account
Can you share the error messages or logs you're receiving, if any?
here is the
[transaction](https://goerli.explorer.zksync.io/tx/0xe922142880d30a7801c82ef58955080a0ac906db2f9cc8d72e0ac4e9dde9d097#overview)
on goerli calling that function.Have you made any recent changes to the contract before encountering this issue?
No it's the first implementation. The abstraction account is deployed successfully but not able to send Eth from it. I want a public function so anyone can call it not only the owner
Are there any external libraries or contracts that your contract interacts with?
No
Can you provide the relevant portions of your contract code where the issue is occurring?
function forwardEth() public { (bool success1, ) = payable(owner1).call{value: 1000000000000000}(""); require(success1, "ETH withdrawal failed for owner1"); }
Have you tried to isolate the problem, and if so, what were the results?
No
What steps have you already taken to try to resolve the issue?
no
Repo Link (Optional)
No response
Additional Details
No response
Beta Was this translation helpful? Give feedback.
All reactions