how to do a nomination pool? #620
Closed
lucasportella
started this conversation in
General
Replies: 1 comment
-
Hey, you can check for the future what custom errors mean by looking at the Wiki : https://github.com/availproject/avail/wiki/Transaction-Custom-IDs It means you are using an appId different than 0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
got running the exemple next js project that shows how to do a send, tried to change the line
const tx = api.tx.dataAvailability.submitData("0x123456")
to
const tx = api.tx.nominationPools.join(100, 5)
the method "join" has been working in my other app with polkadot and kusama(although we use the ApiPromise from polkadot lib)
the error I get is:
![image](https://private-user-images.githubusercontent.com/63923113/351425125-18d0b022-426d-4c6f-a104-dd573176f682.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODI3MDEsIm5iZiI6MTczOTI4MjQwMSwicGF0aCI6Ii82MzkyMzExMy8zNTE0MjUxMjUtMThkMGIwMjItNDI2ZC00YzZmLWExMDQtZGQ1NzMxNzZmNjgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE0MDAwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0MWM5NTdlOWYzMDk2OTMyYmJkYmQ3YWFiOTA1YjNkNTBmNzc3OWQwOWM2YWQ4YzJmNzA1NWRlMGJmYmNkYmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.C_OGOfarSrzZE2Lul25QPiwb8AalcP9Uij1ulK4FEWg)
am I missing something or there is a bug?
Beta Was this translation helpful? Give feedback.
All reactions