-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tezos plugin support #1402
Tezos plugin support #1402
Conversation
401c465
to
a50b6b1
Compare
@denisandreenko If you merge |
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
Signed-off-by: Dzianis Andreyenka <[email protected]>
a50b6b1
to
7cb0b9f
Compare
Codecov Report
@@ Coverage Diff @@
## main #1402 +/- ##
========================================
Coverage 99.98% 99.98%
========================================
Files 316 321 +5
Lines 22147 22957 +810
========================================
+ Hits 22143 22953 +810
Misses 2 2
Partials 2 2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denisandreenko This is really great. I think we should probably have a quick conversation about event streams to see how we want to proceed on that. The equivalent code in the other blockchain plugins has changed but that hasn't been merged yet. We can chat on Discord on this if you want.
} | ||
|
||
location := &Location{Address: instancePath} | ||
if sub, err = s.createSubscription(ctx, location, stream, v2Name, event, firstEvent); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have a conversation about how we create event streams in this plugin. I have some significant changes in another branch for we create Ethereum and Fabric event streams. If we could add the Tezos plugin with those changes already in, it would save us from having to figure out a migration path down the road. It shouldn't be too much trouble to make those same changes in this branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, let's sync on that
ConfigPluginBlockchainTezosTezosconnectBackgroundStart = ffc("config.plugins.blockchain[].tezos.tezosconnect.backgroundStart.enabled", "Start the Tezosconnect plugin in the background and enter retry loop if failed to start", i18n.BooleanType) | ||
ConfigPluginBlockchainTezosTezosconnectBackgroundStartInitialDelay = ffc("config.plugins.blockchain[].tezos.tezosconnect.backgroundStart.initialDelay", "Delay between restarts in the case where we retry to restart the tezos plugin", i18n.TimeDurationType) | ||
ConfigPluginBlockchainTezosTezosconnectBackgroundStartMaxDelay = ffc("config.plugins.blockchain[].tezos.tezosconnect.backgroundStart.maxDelay", "Max delay between restarts in the case where we retry to restart the tezos plugin", i18n.TimeDurationType) | ||
ConfigPluginBlockchainTezosTezosconnectBackgroundStartFactor = ffc("config.plugins.blockchain[].tezos.tezosconnect.backgroundStart.factor", "Set the factor by which the delay increases when retrying", i18n.FloatType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting that background start has been removed from the other blockchain plugins
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I see, it's still there either for evm and fabric plugins.
Signed-off-by: Dzianis Andreyenka <[email protected]>
This looks good. @denisandreenko and I discussed how these changes relate to changes in #1388 and agreed that I will just make those same changes in this code as part of my other PR (still in draft state). |
An additional FF core plugin with Tezos chain support, which utilizes recently created tezos connector.
https://github.com/hyperledger/firefly-tezosconnect