From 8ef17332ba45a334fa05164d99a17c76f5be3a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Tue, 10 Jan 2023 23:40:35 +0000 Subject: [PATCH] {predictable=>delegated} addresses. --- chain/types/actor.go | 2 +- cli/state.go | 2 +- node/impl/full/eth.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chain/types/actor.go b/chain/types/actor.go index 29a6865eb..2dc155270 100644 --- a/chain/types/actor.go +++ b/chain/types/actor.go @@ -26,7 +26,7 @@ type ActorV5 struct { Head cid.Cid Nonce uint64 Balance BigInt - // Predictable Address + // Delegated Address Address *address.Address } diff --git a/cli/state.go b/cli/state.go index 021911f44..9513098d3 100644 --- a/cli/state.go +++ b/cli/state.go @@ -776,7 +776,7 @@ var StateGetActorCmd = &cli.Command{ fmt.Printf("Nonce:\t\t%d\n", a.Nonce) fmt.Printf("Code:\t\t%s (%s)\n", a.Code, strtype) fmt.Printf("Head:\t\t%s\n", a.Head) - fmt.Printf("Predictable address:\t\t%s\n", a.Address) + fmt.Printf("Delegated address:\t\t%s\n", a.Address) return nil }, diff --git a/node/impl/full/eth.go b/node/impl/full/eth.go index 798fda040..7663132a9 100644 --- a/node/impl/full/eth.go +++ b/node/impl/full/eth.go @@ -1431,7 +1431,7 @@ func newEthBlockFromFilecoinTipSet(ctx context.Context, ts *types.TipSet, fullTx // Filecoin address. It does the following: // // 1. If the supplied address is an f410 address, we return its payload as the EthAddress. -// 2. Otherwise (f0, f1, f2, f3), we look up the actor on the state tree. If it has a predictable address, we return it if it's f410 address. +// 2. Otherwise (f0, f1, f2, f3), we look up the actor on the state tree. If it has a delegated address, we return it if it's f410 address. // 3. Otherwise, we fall back to returning a masked ID Ethereum address. If the supplied address is an f0 address, we // use that ID to form the masked ID address. // 4. Otherwise, we fetch the actor's ID from the state tree and form the masked ID with it.