You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fine as long as we call the env from the correct package 😸 .
In the example above, CARGO_PKG_VERSION returns the version of the trin-utils package, not the version of the trin package.
So any changes made to trin/Cargo.toml version have no effect on the web3_clientVersion endpoint.
The text was updated successfully, but these errors were encountered:
When we want to get the client version, we use the
CARGO_PKG_VERSION
env variable to display the version metadata from theCargo.toml
file.trin/trin-utils/src/version.rs
Line 1 in 633e53b
This is fine as long as we call the env from the correct package 😸 .
In the example above,
CARGO_PKG_VERSION
returns the version of thetrin-utils
package, not the version of thetrin
package.So any changes made to
trin/Cargo.toml
version have no effect on theweb3_clientVersion
endpoint.The text was updated successfully, but these errors were encountered: