diff --git a/node/consensus/ceremony/peer_messaging.go b/node/consensus/ceremony/peer_messaging.go index 07f1a5a..48de54b 100644 --- a/node/consensus/ceremony/peer_messaging.go +++ b/node/consensus/ceremony/peer_messaging.go @@ -318,7 +318,10 @@ func (e *CeremonyDataClockConsensusEngine) decompressAndStoreCandidates( } if err = e.handleClockFrameData( e.syncingTarget, - application.CEREMONY_ADDRESS, + append( + p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3), + p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)..., + ), any, true, ); err != nil { diff --git a/node/execution/ceremony/ceremony_execution_engine.go b/node/execution/ceremony/ceremony_execution_engine.go index 8855ac8..fc41ba3 100644 --- a/node/execution/ceremony/ceremony_execution_engine.go +++ b/node/execution/ceremony/ceremony_execution_engine.go @@ -1101,7 +1101,10 @@ func (e *CeremonyExecutionEngine) VerifyExecution( } parent, err := e.clockStore.GetParentDataClockFrame( - application.CEREMONY_ADDRESS, + append( + p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3), + p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)..., + ), frame.FrameNumber-1, frame.ParentSelector, ) diff --git a/node/rpc/rpc_server.go b/node/rpc/rpc_server.go index 5b643be..6afc7a6 100644 --- a/node/rpc/rpc_server.go +++ b/node/rpc/rpc_server.go @@ -235,7 +235,10 @@ func (r *RPCServer) GetTokenInfo( addrBytes = append(make([]byte, 32-len(addrBytes)), addrBytes...) frame, err := r.clockStore.GetLatestDataClockFrame( - application.CEREMONY_ADDRESS, + append( + p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3), + p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)..., + ), nil, ) if err != nil { @@ -307,7 +310,10 @@ func (r *RPCServer) GetTokenInfo( } candidateFrame, err := r.clockStore.GetHighestCandidateDataClockFrame( - application.CEREMONY_ADDRESS, + append( + p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3), + p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)..., + ), ) if err != nil { return nil, errors.Wrap(err, "get token info")