Comments (5)
Good catch! I'm also testing bootstrap on the testnet. I fixed it in ergoplatform/ergo-node-interface-rust#11 and will merge it ASAP. What newer versions do you mean?
from oracle-core.
If by the newer version you mean my PR, then yes, please send a PR to update it here in develop branch.
from oracle-core.
I believe latest develop branch (ergo-node-interface) does not have this issue, while the one oracle-core has pinned to has the outdated serialization. I'm currently working on an update.
I ran into some additional issues in the bootstrap phase. I'll try to take a look at those as well
Currently running into this after getting the previous issue fixed:
2022-07-05T10:57:40.963260355+05:00 INFO oracle_core::cli_commands::bootstrap - bootstrap.yaml loaded
2022-07-05T10:57:40.989778157+05:00 INFO oracle_core::cli_commands::bootstrap - Minting pool NFT tx
2022-07-05T10:57:41.022960102+05:00 INFO oracle_core::cli_commands::bootstrap - Minting refresh NFT tx
2022-07-05T10:57:41.039046012+05:00 ERROR oracle_core - Fatal bootstrap error: node error: The node rejected the request you provided.
I think the issue might be that each step in the bootstrap process uses the UTXOs created by the previous transaction, but those transactions haven't actually been submitted yet, so the node rejects that transaction because it doesn't know about those boxes? If my understanding of the issue is correct, is there any way to build a chained transaction?
from oracle-core.
I believe latest develop branch (ergo-node-interface) does not have this issue, while the one oracle-core has pinned to has the outdated serialization.
That's weird. I'm sure it's only fixed in my PR.
I'm currently working on an update.
I ran into some additional issues in the bootstrap phase. I'll try to take a look at those as well
Great! I'm documenting my progress in #61 in comments.
Currently running into this after getting the previous issue fixed:
2022-07-05T10:57:40.963260355+05:00 INFO oracle_core::cli_commands::bootstrap - bootstrap.yaml loaded
2022-07-05T10:57:40.989778157+05:00 INFO oracle_core::cli_commands::bootstrap - Minting pool NFT tx
2022-07-05T10:57:41.022960102+05:00 INFO oracle_core::cli_commands::bootstrap - Minting refresh NFT tx
2022-07-05T10:57:41.039046012+05:00 ERROR oracle_core - Fatal bootstrap error: node error: The node rejected the request you provided.I think the issue might be that each step in the bootstrap process uses the UTXOs created by the previous transaction, but those transactions haven't actually been submitted yet, so the node rejects that transaction? If my understanding of the issue is correct, is there any way to build a chained transaction?
That's where I'm stuck now as well. Chained tx should work if the inputs are in mempool. Here is the test for this in node - https://github.com/ergoplatform/ergo/blob/205eabf79806b428f86d4b8c866b4df0581b9458/src/test/scala/org/ergoplatform/http/routes/TransactionApiRouteSpec.scala#L64-L78
from oracle-core.
Wait, I forgot I have #71
I'm going to merge it ASAP.
from oracle-core.
Related Issues (20)
- Suggest changes to ballot contract to allow ballot token owners to spend ballot boxes without any requirements HOT 2
- Bootstrap a new pool for ERG/XAU on testnet HOT 1
- Pool health OK for a first few minutes while running bootstrapped pool with only 1 oracle
- In oracle boxes scan filter out non-oracle boxes guarded by non-oracle-contract (PK wallets, etc.)
- Return 503 HTTP error for pool and oracle health endpoints when it's down
- Refresh NFT error in pool box after updating min_votes HOT 1
- Better error messages when config files loading failed
- Oracle health OK but the last posted box is 65 blocks old (epoch length is 35)
- Pool health DOWN but active oracle count is not changed
- For status base url use explorer.ergoplatform.com instead of api.ergoplatform.com
- Docker Hub Repo link broken
- Recommended way to run oracle-core when already running full ergo node? HOT 2
- Add CLI switch to auto approve "extract-reward-tokens" command HOT 2
- Add claimable reward token metrics to the Prometheus metrics endpoint HOT 1
- Scan Issue HOT 4
- Failed to found my own oracle box in the filtered posted oracle boxes HOT 10
- Add scan start blockheight parameter in config HOT 2
- Unlock node wallet if locked
- How to run a testnet oracle?
- Fix issues with buyback offchain
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 oracle-core.