Skip to content

Conversation

@nguyer
Copy link
Contributor

@nguyer nguyer commented Mar 15, 2022

Resolves #585

// Map FireFly "firstEvent" values to Fabric "fromBlock" values
if fromBlock == string(fftypes.SubOptsFirstEventOldest) {
fromBlock = "0"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth processing "Newest" here for consistency, even if it's a no-op?

@nguyer nguyer merged commit ab26d06 into hyperledger:main Mar 18, 2022
@nguyer nguyer deleted the contract-listener-first-event branch March 18, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contract listener subscribes from block 0 by default

2 participants