Comments (3)
Hey @pedro-haeser-cryptotao! It looks like vote transaction (0x3589d3ab8183d414aa4230ca14984e44c9fd953991500bb2b837337a9ea71f7d) somehow failed on blockchain, there could be dozens of reasons, so first of all, you should find logs of this transaction to understand why
from chainbridge.
Hi @P1sar , thanks for the clarifications. I tried the other way around -- bridging a NFT from Polygon Edge to Goerli in order to get logs easier from Etherscan.
It seems that during the proposal execution the transaction was reverted due to "Fail with error 'ERC721: operator query for nonexistent token'"
Just to ensure that I didn't do something fundamentally wrong during my steps...
- I added a minter role to the handler contract on Polygon Edge blockchain
- Minted token "0x54"
- Checked the owner of token 0x54: it was assigned to the Polygon Edge chainbridge admin account
- Approved the transfer from token 0x54 from ERC 721 contract to ERC 721 contract handler (both contracts on Polygon Edge)
- Called deposit method for token 0x54 setting the recipient as the Goerli ERC 721 contract address
These are the logs from last step:
INFO[07-01|13:40:47] Handling nonfungible deposit event chain=polygon-edge
INFO[07-01|13:40:47] Attempting to resolve message chain=goerli type=NonFungibleTransfer src=100 dst=5 nonce=1 rId=000000000000000000000000000000e389d61c11e5fe32ec1735b3cd38c69501
INFO[07-01|13:40:47] Creating erc721 proposal chain=goerli src=100 nonce=1
INFO[07-01|13:40:48] Watching for finalization event chain=goerli src=100 nonce=1
INFO[07-01|13:40:49] Submitted proposal vote chain=goerli tx=0x4c4d106e2897606e984afb175ee9d668a26b4e7c94e1a4a3cdfeb2edc5ccb613 src=100 depositNonce=1 gasPrice=1500000014
INFO[07-01|13:43:35] Submitted proposal execution chain=goerli tx=0x6596c7f067bf9b155c0fe0d153b3f27fee78ffad668025be96bfb7e8c61a98c6 src=100 dst=5 nonce=1 gasPrice=1500000014
And looking at Etherscan the proposal was successfully submitted, however the execution failed with the error above
Just wanted to check if you see anything wrong with the steps above while I keep troubleshooting it.
The reason why I ask that is because I am trying to transfer the NFT from Polygon Edge to Goerli... so I kinda of expected that the token shouldn't exist at Goerli that moment.
Thanks in advance!
from chainbridge.
You were trying to bridge ERC721 token that was not minted in advance.
If you want bridge to mint the token you need to set Mintable/Burnable param for this token and also grant Bridge as minter roles for your ERC721
from chainbridge.
Related Issues (20)
- Approve bridge to assume custody of tokens one time HOT 1
- Declare new event type HOT 1
- What to do when a proposal is canceled/rejected HOT 4
- How to change default transaction maker in Ethereum HOT 2
- Support for Substrate metadata v14 HOT 3
- When transfering ERC721, execution proposal not working HOT 8
- The CLI (cb-sol-cli admin withdraw) doesn't actually withdraw fees HOT 1
- ERC 721 tokens not deposited/released in destination chain HOT 1
- VM exeception error while initializing chainbridge HOT 1
- import an ethereum keystore Lack of newPassword option HOT 1
- Add-minter error: CALL_EXCEPTION | MINTER_ROLE()
- "concurrent map writes" error HOT 2
- unsupported metadata version 14 HOT 1
- cb-sol-cli cannot deploy Eth contracts... Cannot find module 'commander' HOT 2
- How to show transferred amount from ERC20 to Substrate parachain?
- chainbridge start report error
- ERC721 from Substrate to Polygon-Edge, "insufficient funds" and panics
- where is your bridge contract? HOT 5
- Which ChainBridge version is the most matched with chainbridge-solidity v2.1.3(tag) ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainbridge.