Skip to content

Commit

Permalink
release: V1.1.2 (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope authored Sep 9, 2024
1 parent 17f3366 commit 10a7b76
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Change Categories
* [#523](https://github.com/Lagrange-Labs/lsc-node/issues/523) Add the `Signer` module.
* [#530](https://github.com/Lagrange-Labs/lsc-node/issues/530) Create the own go modules to manage the dependencies.
* [#550](https://github.com/Lagrange-Labs/lsc-node/pull/550) Add G2 based BLS scheme.
* [#556](https://github.com/Lagrange-Labs/lsc-node/pull/556) Refactor the optimism rpc for the polymer support.
* [#556](https://github.com/Lagrange-Labs/lsc-node/pull/556) Refactor the optimism rpc in a more combinient way.

### Fixes

Expand Down
2 changes: 1 addition & 1 deletion cmd/baseapp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func initMetrics(cfg telemetry.Config, module string) error {

func versionCmd(*cli.Context) error {
w := os.Stdout
fmt.Fprintf(w, "Version: %s\n", "v0.1.0")
fmt.Fprintf(w, "Version: %s\n", "v1.1.2")
fmt.Fprintf(w, "Go version: %s\n", runtime.Version())
fmt.Fprintf(w, "OS/Arch: %s/%s\n", runtime.GOOS, runtime.GOARCH)
return nil
Expand Down
5 changes: 1 addition & 4 deletions rpcclient/optimism/batch_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ func (f *Fetcher) pushBatchesRef(batchesRef *BatchesRef) error {
isFound = true
break
}
if j == 1 {
continue
}
bn = f.lastSyncedL2BlockNumber - uint64(j)
hash, err = f.l2Client.GetBlockHashByNumber(bn)
if err != nil {
Expand All @@ -206,7 +203,7 @@ func (f *Fetcher) pushBatchesRef(batchesRef *BatchesRef) error {
}
}
if !isFound {
logger.Errorf("no L2 block number found for the batchref: %+v", batchesRef)
logger.Errorf("no L2 block number found for the batchesRef: %+v", batchesRef)
return fmt.Errorf("no L2 block number found")
}
}
Expand Down
2 changes: 1 addition & 1 deletion rpcclient/optimism/batch_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (f *Fetcher) fetchBlock(blockNumber uint64) ([]*FramesRef, error) {
frames, err := derive.ParseFrames(data.Data)
if err != nil {
logger.Errorf("failed to parse frames: %v", err)
return nil, err
continue
}
framesRef := &FramesRef{
Frames: frames,
Expand Down
2 changes: 1 addition & 1 deletion rpcclient/optimism/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (c *Client) SetBeginBlockNumber(l1BlockNumber, l2BlockNumber uint64) bool {
}

c.fetcher.StopFetch()
logger.Infof("last synced L1 block number: %d, begin L1 block number: %d", lastSyncedL1BlockNumber, l1BlockNumber)
logger.Infof("last synced L1 block number: %d, begin L1 block number: %d, begin L2 block number: %d", lastSyncedL1BlockNumber, l1BlockNumber, l2BlockNumber)

c.fetcher.InitFetch()
// Fetch L1 batch headers
Expand Down
2 changes: 1 addition & 1 deletion server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
// MinCompatibleVersion is the minimum compatible version.
MinCompatibleVersion = core.Version{Major: 1, Minor: 1, Patch: 0}
// ExpectedVersion is the expected version.
ExpectedVersion = core.Version{Major: 1, Minor: 1, Patch: 0}
ExpectedVersion = core.Version{Major: 1, Minor: 1, Patch: 2}
)

type sequencerService struct {
Expand Down

0 comments on commit 10a7b76

Please sign in to comment.