Skip to content

Commit

Permalink
bump the spec version
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Dec 18, 2024
1 parent 0189010 commit 270356d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion graph/src/components/store/entity_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ impl EntityCache {
for (key, update) in self.updates {
use EntityModification::*;

// let is_poi = key.entity_type.is_poi();
let current = self.current.remove(&key).and_then(|entity| entity);
let modification = match (current, update) {
// Entity was created
Expand Down
4 changes: 3 additions & 1 deletion graph/src/data/subgraph/api_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ pub const SPEC_VERSION_1_1_0: Version = Version::new(1, 1, 0);
pub const SPEC_VERSION_1_2_0: Version = Version::new(1, 2, 0);

// Enables subgraphs as datasource
// Change the way the VID field is generated. It used to be autoincrement. Now its
// based on block number and the sequence of the entities in a block.
pub const SPEC_VERSION_1_3_0: Version = Version::new(1, 3, 0);

// The latest spec version available
pub const LATEST_VERSION: &Version = &SPEC_VERSION_1_2_0;
pub const LATEST_VERSION: &Version = &SPEC_VERSION_1_3_0;

pub const MIN_SPEC_VERSION: Version = Version::new(0, 0, 2);

Expand Down

0 comments on commit 270356d

Please sign in to comment.