Skip to content

Conversation

@awrichar
Copy link
Contributor

@awrichar awrichar commented Aug 18, 2022

FireFly should continue to work when run against a config file from 1.0.x.

Since this references 1.0.4, it should go in after #982 is merged and released as 1.0.4.

@awrichar awrichar changed the title Contracts Fix bugs when running with an old config file Aug 18, 2022
Technically "publicstorage" was not deprecated until 1.0.4.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
The networkVersion() method will not exist, but we should cache the
fact that is doesn't exist as proof of a V1 contract.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2022

Codecov Report

Merging #984 (4a19f41) into main (71498e9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #984   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         301      301           
  Lines       19800    19815   +15     
=======================================
+ Hits        19799    19814   +15     
  Misses          1        1           
Impacted Files Coverage Δ
internal/coreconfig/coreconfig.go 100.00% <ø> (ø)
ffconfig/migrate/migrations.go 100.00% <100.00%> (ø)
internal/apiserver/server.go 100.00% <100.00%> (ø)
internal/blockchain/ethereum/ethereum.go 100.00% <100.00%> (ø)
internal/blockchain/fabric/fabric.go 100.00% <100.00%> (ø)
internal/multiparty/manager.go 100.00% <100.00%> (ø)
internal/namespace/manager.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

No automatic migration path is provided - admin server will not be started, but
the message provides a clearer path to correcting the config.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@awrichar awrichar requested a review from nickgaski as a code owner August 18, 2022 22:01
@awrichar awrichar merged commit e49dbd8 into hyperledger:main Aug 19, 2022
@awrichar awrichar deleted the contracts branch August 19, 2022 16:51
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.

3 participants