You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Deal Proposal
can claim a bounty:
Error: VM Exception while processing transaction: reverted with custom error 'ActorNotFound()'
at DealRewarderFacet.validatePrecompileCall (@zondax/filecoin-solidity/contracts/v0.8/utils/Actor.sol:141)
at DealRewarderFacet.callByID (@zondax/filecoin-solidity/contracts/v0.8/utils/Actor.sol:118)
at DealRewarderFacet.getDealDataCommitment (@zondax/filecoin-solidity/contracts/v0.8/MarketAPI.sol:73)
at DealRewarderFacet.claim_bounty (contracts/facets/DealRewarderFacet.sol:52)
at <UnrecognizedContract>.<unknown> (0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at HardhatNode._mineBlockWithPendingTxs (node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:1819:23)
at HardhatNode.mineBlock (node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:508:16)
at EthModule._sendTransactionAndReturnHash (node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:1522:18)
at HardhatNetworkProvider.request (node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:123:18)
at EthersProviderWrapper.send (node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)
Currently Thinking its looking for a precompile contract at a hardcoded address that does not exist on the hardhat network, wondering if there is a way to mock it
The text was updated successfully, but these errors were encountered:
running
npx hardhat test ./tests/dealRewarder.js
fevm-diamond/hardhat/test/dealRewarder.js
Lines 33 to 35 in 0b14b5f
fevm-diamond/hardhat/contracts/facets/DealRewarderFacet.sol
Lines 48 to 52 in 0b14b5f
https://github.com/Zondax/filecoin-solidity/blob/d07293f079f502a5270edd002f15b470120b23f6/contracts/v0.8/MarketAPI.sol#L73
https://github.com/Zondax/filecoin-solidity/blob/d07293f079f502a5270edd002f15b470120b23f6/contracts/v0.8/utils/Actor.sol#L110-L118
https://github.com/Zondax/filecoin-solidity/blob/d07293f079f502a5270edd002f15b470120b23f6/contracts/v0.8/utils/Actor.sol#L133-L141
seems to be looking for the contract at https://github.com/Zondax/filecoin-solidity/blob/d07293f079f502a5270edd002f15b470120b23f6/contracts/v0.8/utils/Actor.sol#L31
Currently Thinking its looking for a precompile contract at a hardcoded address that does not exist on the hardhat network, wondering if there is a way to mock it
The text was updated successfully, but these errors were encountered: