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
We've updated engine version from v0.9.1 to the latest (v2.0.29) and facing intermittent issue while creating listings on MarketplaceV3.
Issue happens if we mint several tokens for ERC1155 and after calling createListing for these tokens - some transactions are failing with
Error
The transaction failed onchain. See: https://portal.thirdweb.com/engine/troubleshooting
If we create listing just for one token of ERC1155 (TokenId = 0) - all works fine.
Reverted back to v0.9.1 - listings work fine, so it looks like a bug in newest versions.
Also if we trying to call createListing not in engine but in Marketplace Explorer - no issues (First pic)
The text was updated successfully, but these errors were encountered:
The "The transaction failed onchain." error means the transaction was mined but received an "execution reverted" error from the contract. You can view the transaction hash to see if the contract returned any specific error to help you troubleshoot. You can also try adding the ?simulateTx=true queryparam to the createListing call to see if it returns any simulation error.
The MarketplaceV3 code is untouched between the versions you specified. Since the issue is inconsistent, one hunch may be that since Engine v2 processes transactions much faster than v1, there is a timing issue somewhere.
Hi @Kuro182, we have determined that the revert is caused due to the transaction going out of gas. While we fix this issue, you can circumvent it by specifying a gas override as a part of the txOverrides in the request body (reference). For the transaction you reference here, a value of 280,000 should be safe.
We've updated engine version from v0.9.1 to the latest (v2.0.29) and facing intermittent issue while creating listings on MarketplaceV3.
Issue happens if we mint several tokens for ERC1155 and after calling createListing for these tokens - some transactions are failing with
Error
The transaction failed onchain. See: https://portal.thirdweb.com/engine/troubleshooting
If we create listing just for one token of ERC1155 (TokenId = 0) - all works fine.
Reverted back to v0.9.1 - listings work fine, so it looks like a bug in newest versions.
Also if we trying to call createListing not in engine but in Marketplace Explorer - no issues (First pic)
The text was updated successfully, but these errors were encountered: