Skip to content

onetechnical/relbeta2.1.6#1547

Merged
algojohnlee merged 2 commits intoalgorand:rel/betafrom
onetechnical:onetechnical/relbeta2.1.6
Sep 23, 2020
Merged

onetechnical/relbeta2.1.6#1547
algojohnlee merged 2 commits intoalgorand:rel/betafrom
onetechnical:onetechnical/relbeta2.1.6

Conversation

@onetechnical
Copy link
Copy Markdown
Contributor

@onetechnical onetechnical commented Sep 23, 2020

Summary

Highlights

A bug in the algorand debian package would result in the genesis.json for TestNet being applied instead of MainNet. Debian users should verify that /var/lib/algorand/genesis.json is pointing to the correct network after upgrading. This is especially true for TestNet users who upgraded to the 2.1.5 debian package.

Changes

  1. Other
    • Bug Fix - use DEFAULT_RELEASE_NETWORK genesis file in debian package

Test Plan

Standard release testing.

For a rel/stable release, do the following tests:

MainNet w/ 2.1.5 TestNet downgrade:

  • Install 2.1.4 deb, verify /var/lib/algorand/genesis.json is pointing to mainnet
  • Install 2.1.5 deb, verify /var/lib/algorand/genesis.json is pointing to testnet (replicating bug)
  • Install 2.1.6 deb, verify /var/lib/algorand/genesis.json is pointing to mainnet

MainNet 2.1.6 install:

  • Install 2.1.6 deb, verify /var/lib/algorand/genesis.json is pointing to mainnet

MainNet 2.1.5 install (config changed) upgraded to 2.1.6:

  • Install 2.1.5 deb, verify /var/lib/algorand/genesis.json is pointing to testnet
  • Modify /var/lib/algorand/genesis.json to point to mainnet's genesis.json
  • Install 2.1.6 deb, verify that /var/lib/algorand/genesis.json continues to point to mainnet

…1544)

The current debian package will incorrectly package the testnet genesis file. This fix addresses that issue.
@onetechnical onetechnical self-assigned this Sep 23, 2020
@onetechnical onetechnical marked this pull request as ready for review September 23, 2020 23:12
@algojohnlee algojohnlee merged commit 314a505 into algorand:rel/beta Sep 23, 2020
tsachiherman pushed a commit to tsachiherman/go-algorand that referenced this pull request Jul 7, 2021
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.

4 participants