Document future API changes

This commit is contained in:
Rod Vagg 2024-02-26 21:12:36 +11:00
parent b12714f092
commit 377a3e2157
2 changed files with 5 additions and 3 deletions

View File

@ -29,6 +29,9 @@ type ActorEventFilter struct {
// The height of the earliest tipset to include in the query. If empty, the query starts at the
// last finalized tipset.
// NOTE: In a future upgrade, this will be strict when set and will result in an error if a filter
// cannot be fulfilled by the depth of history available in the node. Currently, the node will
// nott return an error, but will return starting from the epoch it has data for.
FromHeight *abi.ChainEpoch `json:"fromHeight,omitempty"`
// The height of the latest tipset to include in the query. If empty, the query ends at the
@ -45,6 +48,8 @@ type ActorEvent struct {
Entries []EventEntry `json:"entries"`
// Filecoin address of the actor that emitted this event.
// NOTE: In a future upgrade, this will change to always be an ID address. Currently this will be
// either the f4 address, or ID address if an f4 is not available for this actor.
Emitter address.Address `json:"emitter"`
// Reverted is set to true if the message that produced this event was reverted because of a network re-org

View File

@ -2,7 +2,6 @@ package modules
import (
"context"
"fmt"
"path/filepath"
"time"
@ -141,8 +140,6 @@ func EventFilterManager(cfg config.FevmConfig) func(helpers.MetricsCtx, repo.Loc
return idAddr, true
}
fmt.Println("")
return *actor.Address, true
},