Skip to content

Commit a4cfaf8

Browse files
yoshidanNaohiro Yoshida
andauthored
add lorentz timestamp into mainnet (#60)
Co-authored-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
1 parent 0ac435d commit a4cfaf8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

e2e/chains/bsc/Dockerfile.bootstrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ghcr.io/foundry-rs/foundry:nightly-462b2ac6c038dc24b8f38b0c59b664d0740604c2
1+
FROM ghcr.io/foundry-rs/foundry:v0.3.0
22

3-
RUN apk add --d --no-cache ca-certificates npm nodejs bash alpine-sdk expect jq curl bash python3
3+
RUN apk add --d --no-cache npm nodejs bash alpine-sdk expect jq curl bash python3-dev py3-pip
44
RUN curl -sSL https://install.python-poetry.org | python3 -
55

66
RUN git clone https://github.com/bnb-chain/bsc-genesis-contract -b develop /root/genesis \

e2e/chains/bsc/docker-compose.bsc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ services:
55
dockerfile: Dockerfile.bsc
66
args:
77
GIT_SOURCE: https://github.com/bnb-chain/bsc
8-
GIT_CHECKOUT_BRANCH: v1.5.9
8+
GIT_CHECKOUT_BRANCH: v1.5.10
99
image: bsc-geth:docker-local

module/fork_spec.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"fmt"
66
"github.com/hyperledger-labs/yui-relayer/log"
7-
"math"
87
"os"
98
"strconv"
109
)
@@ -77,8 +76,10 @@ func GetForkParameters(network Network) []*ForkSpec {
7776
EpochLength: 200,
7877
MaxTurnLength: 9,
7978
},
79+
// https://github.com/bnb-chain/bsc/blob/1ded6d7ecfc1a9b71accab03aef99d816eeda446/params/config.go#L192
80+
// https://github.com/bnb-chain/bsc/releases/tag/v1.5.10
8081
{
81-
HeightOrTimestamp: &ForkSpec_Timestamp{Timestamp: math.MaxUint64},
82+
HeightOrTimestamp: &ForkSpec_Timestamp{Timestamp: 1745903100 * 1000},
8283
AdditionalHeaderItemCount: 1,
8384
EpochLength: 500,
8485
MaxTurnLength: 64,

0 commit comments

Comments
 (0)