mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-26 06:27:58 +00:00
use the long revive version string in the contract metadata (#109)
This commit is contained in:
@@ -89,9 +89,8 @@ impl Contract {
|
||||
|
||||
let metadata = Metadata::new(
|
||||
self.metadata_json.take(),
|
||||
version.default.clone(),
|
||||
version.long.clone(),
|
||||
version.l2_revision.clone(),
|
||||
semver::Version::parse(env!("CARGO_PKG_VERSION")).expect("Always valid"),
|
||||
optimizer.settings().to_owned(),
|
||||
);
|
||||
let metadata_json = serde_json::to_value(&metadata).expect("Always valid");
|
||||
|
||||
Reference in New Issue
Block a user