Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes about the transaction era need to match #701

Closed
wants to merge 2 commits into from
Closed

Add notes about the transaction era need to match #701

wants to merge 2 commits into from

Conversation

jfruiz11375
Copy link

@jfruiz11375 jfruiz11375 commented Jul 16, 2022

Updating documentation

Description of the change

I added notes about the transaction era must match. I was following the current documentation to learn the staking pool but since I am on the test-net the alonzo-era was giving an error when trying to submit the transaction build. I change the transaction build to use the --babbage-era and it was successful. So I just wanted to add notes in the documentation to help others as they take the stake pool course.

Quickfix

Add note about the --babbage-era since when testing on test-net the current info would not work as the transaction era needs to match.
Updated the info on the --babbage-era and how transaction era need to match in note format
Copy link
Collaborator

@rphair rphair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some observations:

  1. although this material is going away in favour of pages in the new Stake Pool Guide (https://developers.cardano.org/docs/stake-pool-guide/) I wouldn't have a problem adding a note like this to the old material.
  2. I am assuming the statement in the note is true since transaction build needs to connect to a live network and therefore it doesn't make sense to specify the ledger era. We found this out the hard way over the course of this discussion: https://forum.cardano.org/t/please-use-cardano-cli-transaction-build-instead-of-cardano-cli-transaction-build-raw/94919/5
  3. @rdlrt (or other) - before adding such a statement, do we have a way of verifying that it's strictly true under all circumstances?
  4. @jfruiz11375 - after adding this note, why have you not also edited the command which follows to remove the --alonzo-era option, if it's not necessary?

@jfruiz11375
Copy link
Author

jfruiz11375 commented Jul 17, 2022 via email

@rdlrt
Copy link
Collaborator

rdlrt commented Jul 17, 2022

although this material is going away in favour of pages in the new Stake Pool Guide

Personally I wouldn't be too big to update old guide pages, but put corresponding changes to updated page (for which it's easier if initial draft is ready , even if not fully ready quicker).

before adding such a statement, do we have a way of verifying that it's strictly true

It will be true with upcoming node versions (see here ), tho it may be a good idea to switch to build-raw instead - which would allow defining valid transactions in lower era, especially if a feature is not essential.

@rphair
Copy link
Collaborator

rphair commented Jul 17, 2022

I've been in touch with the fellows who initiated #641 so I'll keep an eye out for it when those pages come out: both to use build-raw and to address the question of using a different ledger era. Also adding an explanatory note to that cross reference now.

@rphair rphair mentioned this pull request Jul 17, 2022
@jfruiz11375
Copy link
Author

jfruiz11375 commented Jul 17, 2022 via email

@rphair
Copy link
Collaborator

rphair commented Jul 17, 2022

@jfruiz11375 are you therefore OK if we close this pull request... knowing it will be noted in the revised material coming out soon?

@jfruiz11375
Copy link
Author

jfruiz11375 commented Jul 17, 2022 via email

@rphair rphair closed this Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants