Skip to content

Commit 07c15b7

Browse files
committed
feat(cli): add FRC-102 compatible EIP-191 signing via --fevm flag ([#13388](#13388))
1 parent f10a684 commit 07c15b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- chore(deps): update of quic-go to v0.54.1 and go-libp2p to v0.43.0 ([filecoin-project/lotus#13361](https://github.com/filecoin-project/lotus/pull/13361))
1414
- feat(spcli): add a `deposit-margin-factor` option to `lotus-miner actor new` and `lotus-shed miner create` so the sent deposit still covers the on-chain requirement if it rises between lookup and execution
1515
- feat(cli): lotus evm deploy prints message CID ([filecoin-project/lotus#13378](https://github.com/filecoin-project/lotus/pull/13378))
16+
- feat(cli): add FRC-102 compatible EIP-191 signing via --fevm flag ([filecoin-project/lotus#13388](https://github.com/filecoin-project/lotus/pull/13388))
1617

1718
# Node and Miner v1.34.1 / 2025-09-15
1819

cli/wallet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ var walletSign = &cli.Command{
435435
ArgsUsage: "<signing address> <hexMessage>",
436436
Flags: []cli.Flag{
437437
&cli.BoolFlag{
438-
Name: "fevm",
438+
Name: "fevm",
439439
Usage: "Use EIP-191 (Ethereum-style) prefix for signing FEVM messages per FRC-102",
440440
},
441441
},
@@ -467,7 +467,7 @@ var walletSign = &cli.Command{
467467

468468
var prefix []byte
469469
if cctx.Bool("fevm") {
470-
//EVM-Compatible
470+
//EVM-Compatible
471471
prefix = []byte(fmt.Sprintf("\x19Ethereum Signed Message:\n%d", len(msg)))
472472
} else {
473473
//Filecoin

0 commit comments

Comments
 (0)