From 6d5cc1063db819d29c067e21b650b0487960633d Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 28 Feb 2024 05:09:43 +0100 Subject: [PATCH 1/2] chore(readme): update a documentation link (#576) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9dd7b3f6..588b89807 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI](https://github.com/taikoxyz/taiko-client/actions/workflows/test.yml/badge.svg)](https://github.com/taikoxyz/taiko-client/actions/workflows/test.yml) [![Codecov](https://img.shields.io/codecov/c/github/taikoxyz/taiko-client?logo=codecov&token=OH6BJMVP6O)](https://codecov.io/gh/taikoxyz/taiko-client) -Taiko protocol's client software implementation in Go. Learn more about Taiko nodes with [the docs](https://taiko.xyz/docs/concepts/taiko-nodes). +Taiko protocol's client software implementation in Go. Learn more about Taiko nodes with [the docs](https://docs.taiko.xyz/core-concepts/taiko-nodes/). ## Project structure From 5ade026db14de02591054360c678a2a296d40d20 Mon Sep 17 00:00:00 2001 From: maskpp Date: Wed, 28 Feb 2024 12:20:26 +0800 Subject: [PATCH 2/2] chore(sender): improve transaction sender logs (#578) --- internal/sender/common.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/sender/common.go b/internal/sender/common.go index 81b5689e2..8f41c12f2 100644 --- a/internal/sender/common.go +++ b/internal/sender/common.go @@ -42,6 +42,8 @@ func (s *Sender) adjustGas(txData types.TxData) { blobFeeCap = blobFeeCap / 100 * rate blobFeeCap = mathutil.MinUint64(blobFeeCap, s.MaxBlobFee) baseTx.BlobFeeCap = uint256.NewInt(blobFeeCap) + default: + log.Warn("Unsupported transaction type when adjust gas fee", "from", s.Opts.From) } } @@ -59,8 +61,12 @@ func (s *Sender) AdjustNonce(txData types.TxData) { tx.Nonce = nonce case *types.BlobTx: tx.Nonce = nonce + case *types.LegacyTx: + tx.Nonce = nonce + case *types.AccessListTx: + tx.Nonce = nonce default: - log.Warn("Unsupported transaction type", "from", s.Opts.From) + log.Debug("Unsupported transaction type when adjust nonce", "from", s.Opts.From) } }