We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd7132 commit fd8def6Copy full SHA for fd8def6
ethportal-api/src/version.rs
@@ -1,6 +1,6 @@
1
/// The latest git commit hash of the build.
2
pub const TRIN_FULL_COMMIT: &str = env!("VERGEN_GIT_SHA");
3
-pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..8);
+pub const TRIN_SHORT_COMMIT: &str = const_format::str_index!(TRIN_FULL_COMMIT, ..4);
4
5
/// Trin's version is the same as the git tag.
6
pub const TRIN_VERSION: &str = const_format::str_split!(env!("VERGEN_GIT_DESCRIBE"), '-')[0];
0 commit comments