Coder Social home page Coder Social logo

Comments (5)

greenhat avatar greenhat commented on June 12, 2024

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.

greenhat avatar greenhat commented on June 12, 2024

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.

SethDusek avatar SethDusek commented on June 12, 2024

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.

greenhat avatar greenhat commented on June 12, 2024

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.

greenhat avatar greenhat commented on June 12, 2024

Wait, I forgot I have #71
I'm going to merge it ASAP.

from oracle-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.