Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1544: consensus: do not assume the anchor point is genesis in prevPointAndBlockNo r=edsko a=nfrisby Fixes the first item in #1511. Unfortunately I don't have a test case here, because the only repro I have only fails on my WIP branch for Issue 1489. On that branch, this commit does fix the repro. I'm preparing an omnibus PR for 1489, but I thought I'd open this one too, since the fix seems clear in hindsight (unless I'm overlooking some invariant about the current chain here?) and it's in the library not just the test infrastructure. 1560: Provisioning power-shell script r=coot a=coot Using chocolatey install: * ghc-8.6.5 * git (and git-bash) * firefox * ~openssh~ Co-authored-by: Nicolas Frisby <nick.frisby@iohk.io> Co-authored-by: Edsko de Vries <edsko@well-typed.com> Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
- Loading branch information
Showing
4 changed files
with
162 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# PowerShell provisioning script for Windows10 | ||
# To run: right-click and chose `run with PowerShell. | ||
|
||
# re-start in admin mode | ||
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | ||
|
||
# install chocolatey | ||
Set-ExecutionPolicy Bypass -Scope Process -Force | ||
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | ||
|
||
# install work environment | ||
choco install -y ghc --version 8.6.5 | ||
choco install -y git | ||
choco install -y firefox |