Revision e76a26577cf3e8af4674b06f0efc7bc7627f36fb authored by Ilya Peresadin on 24 November 2022, 15:56:24 UTC, committed by Thomas Letan on 21 December 2022, 11:54:27 UTC
After cementation condition has been weakened,
there are some possible exploits of the rest of the functions.
In particularly, the following things have been adjusted:

* Allow bond withdrawal when staked on LCC predecessor

* Prohibit staker removal when staked on LCC predecessor

* Allow refining stake from commit behind LCC

(cherry picked from commit be7df71940545b653c35a5d506f6cf8edf74a51a)
1 parent c68476b
Raw File
install-bin-fedora.sh
#!/bin/sh

usage () {
    cat >&2 <<!EOF
usage:
  $0 [rc]
!EOF
}

if [ $# -eq 1 ] && [ "$1" = "rc" ]
then
  # [setup rc repository]
  REPO="@Serokell/Tezos-rc"
  # [end]
elif [ $# -eq 0 ]
then
  # [setup stable repository]
  REPO="@Serokell/Tezos"
  # [end]
else
  usage
  exit 1
fi

# TODO tezos/tezos#2170: search shifted protocol name/number & adapt
set -e
set -x
# [install prerequisites]
dnf install -y dnf-plugins-core
# [install tezos]
dnf copr enable -y $REPO && dnf update -y
dnf install -y tezos-client
dnf install -y tezos-node
dnf install -y tezos-baker-014-PtKathma
dnf install -y tezos-accuser-014-PtKathma
# [test executables]
tezos-client --version
tezos-node --version
tezos-baker-014-PtKathma --version
tezos-accuser-014-PtKathma --version
back to top