tocwex / tocwex/fund

error on instantiating escrow contract

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
hoon
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description


Raw Call Arguments:
  from:  0xa5188ffb1038729BD3eaB99d0356a3106ec39F08
  to:    0xCE13EC86BD8b88279ec63eb9F1aed96759Ce5063
  data:  0x1688f0b90000000000000000000000003e5c63644e683549055b9be8653de26e0b4cd36e00000000000000000000000000000000000000000000000000000000000000608fbbefa43da81493c94e364fffa5f95901ce2168eab909775412814011aad1ec00000000000000000000000000000000000000000000000000000000000001a4b63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a5188ffb1038729bd3eab99d0356a3106ec39f0800000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d000000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 
Contract Call:
  address:   0xCE13EC86BD8b88279ec63eb9F1aed96759Ce5063
  function:  createProxyWithNonce(address _singleton, bytes initializer, uint256 saltNonce)
  args:                          (0x3E5c63644E683549055b9Be8653de26E0B4CD36E, 0xb63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a5188ffb1038729bd3eab99d0356a3106ec39f0800000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d000000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d00000000000000000000000000000000000000000000000000000000000000000, 65012791693821981814087870991771514366621809985961579706867258490029356012012)
  sender:    0xa5188ffb1038729BD3eaB99d0356a3106ec39F08

Docs: https://viem.sh/docs/contract/simulateContract
Details: Missing or invalid parameters.
Double check you have provided the correct parameters.

URL: https://eth-mainnet.g.alchemy.com/v2/3E1uGlCjiFWVnLr13bbnJBFFWc-4WB22
Request body: {"method":"eth_call","params":[{"data":"0x1688f0b90000000000000000000000003e5c63644e683549055b9be8653de26e0b4cd36e00000000000000000000000000000000000000000000000000000000000000608fbbefa43da81493c94e364fffa5f95901ce2168eab909775412814011aad1ec00000000000000000000000000000000000000000000000000000000000001a4b63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a5188ffb1038729bd3eab99d0356a3106ec39f0800000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d000000000000000000000000078e6603f03933e0febc688a7734ea8b4b63f42d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","from":"0xa5188ffb1038729BD3eaB99d0356a3106ec39F08","to":"0xCE13EC86BD8b88279ec63eb9F1aed96759Ce5063"},"latest"]}

Details: execution reverted
Version: viem@2.9.28
Version: viem@2.9.28
    at xe (actions.js:38:2869)
    at ei (actions.js:38:41996)
    at async yt (core.mjs:3:28923)
    at async Vn (core.mjs:3:33263)
    at async safeExecDeploy (safe.js:47:29)

I suspect that this might be coming from the fact that ceo.tocwex.eth is both the refund signer and the oracle signer. setting up a second signing address for oracle.tocwex.eth to be the other signer and see if that fixes it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at safeExecDeploy in safe.js:47:29 and inspect the createProxyWithNonce simulation using the supplied sender, singleton, initializer, and saltNonce. Reproduce the eth_call, check the refund and oracle signer assumption, and identify the parameter or signer-role condition causing the revert; done when contract instantiation succeeds or the failing validation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, javascript
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.