Skip to content

Commit

Permalink
Merge branch 'main' into testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Feb 2, 2023
2 parents 2931535 + 61f7bb9 commit 99a796d
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

# Maybe launch it only in testnet branches
gas-costs-check:
if: github.ref != 'refs/heads/staging'
if: github.ref != 'refs/heads/staging' && github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
130 changes: 67 additions & 63 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions massa-models/src/config/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lazy_static::lazy_static! {
.saturating_add(MassaTime::from_millis(1000 * 10))
)
} else {
1675296001000.into() // Thursday, February 02, 2022 00:00:01 AM UTC
1675346400000.into() // Thursday, February 02, 2022 14:00:00 AM UTC
};

/// TESTNET: time when the blockclique is ended.
Expand All @@ -64,7 +64,7 @@ lazy_static::lazy_static! {
if cfg!(feature = "sandbox") {
"SAND.0.0"
} else {
"TEST.19.0"
"TEST.19.1"
}
.parse()
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion massa-models/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl Deserializer<Version> for VersionDeserializer {
impl Version {
/// true if instance and major are the same
pub fn is_compatible(&self, other: &Version) -> bool {
self.instance == other.instance && self.major == other.major
self.instance == other.instance && self.major == other.major && other.minor >= 1
}
}

Expand Down
2 changes: 1 addition & 1 deletion massa-node/base_config/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openrpc": "1.2.4",
"info": {
"title": "Massa OpenRPC Specification",
"version": "TEST.19.0",
"version": "TEST.19.1",
"description": "Massa OpenRPC Specification document. Find more information on https://docs.massa.net/en/latest/technical-doc/api.html",
"termsOfService": "https://open-rpc.org",
"contact": {
Expand Down

0 comments on commit 99a796d

Please sign in to comment.