Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Sep 18, 2023
1 parent 16c25e7 commit 34a2c00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/types/celo_transaction_signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

// TODO(pl)

package types

import (
Expand All @@ -25,7 +27,7 @@ import (
type cel2Signer struct{ cancunSigner }

// NewCel2Signer returns a signer that accepts
// - CIP-64 celo dynamic fee transactions v2
// - CIP-64 celo dynamic fee transaction (v2)
// - EIP-4844 blob transactions
// - EIP-1559 dynamic fee transactions
// - EIP-2930 access list transactions,
Expand Down
2 changes: 1 addition & 1 deletion core/types/transaction_signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func LatestSignerForChainID(chainID *big.Int) Signer {
if chainID == nil {
return HomesteadSigner{}
}
return NewCancunSigner(chainID)
return NewCel2Signer(chainID)
}

// SignTx signs the transaction using the given signer and private key.
Expand Down

0 comments on commit 34a2c00

Please sign in to comment.