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

Genesis timestamp hotfix #3139

Merged
merged 3 commits into from
Aug 8, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/pvkeys-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ set +e
PR_NUMBER=`basename ${CIRCLE_PULL_REQUEST:-NOPR}`
GH_API="https://api.github.com/repos/CodaProtocol/coda/pulls"
MERGE_INTO_BRANCH=`curl -s ${GH_API}/${PR_NUMBER} | jq -r .base.ref`
CIRCLE_BRANCH_NOSLASH=$( echo ${CIRCLEBRANCH} | sed 's!/!-!; s!!-!g' )
Copy link
Contributor

Choose a reason for hiding this comment

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

echo needs _

MERGE_INTO_BRANCH_NOSLASH=$( echo ${MERGE_INTO_BRANCH} | sed 's!/!-!; s!!-!g' )

# Iterate over a few name variations until you a match?
NAME_VARIATIONS="
keys-${CIRCLE_BRANCH_NOSLASH:-NOBRANCH_NOSLASH}-${DUNE_PROFILE:-NOPROFILE}.tar.bz2
keys-${CIRCLE_BRANCH:-NOBRANCH}-${DUNE_PROFILE:-NOPROFILE}.tar.bz2
keys-${MERGE_INTO_BRANCH_NOSLASH:-NOBRANCH_NOSLASH}-${DUNE_PROFILE:-NOPROFILE}.tar.bz2
keys-${MERGE_INTO_BRANCH:-NOBRANCH}-${DUNE_PROFILE:-NOPROFILE}.tar.bz2
keys-temporary_hack-${DUNE_PROFILE:-NOPROFILE}.tar.bz2
NOTFOUND
Expand Down
2 changes: 1 addition & 1 deletion src/config/testnet_postake_medium_curves.mlh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[%%define fake_hash false]

[%%define genesis_ledger "testnet_postake"]
[%%define genesis_state_timestamp "2019-08-05 18:00:00-07:00"]
[%%define genesis_state_timestamp "2019-08-08 09:00:00-07:00"]
[%%define block_window_duration 300000]

[%%define integration_tests false]
Expand Down