Skip to content

Commit adc60f0

Browse files
committed
rebuild with be63fb5
1 parent 529f8a6 commit adc60f0

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

packages/proto-build/src/main.rs--

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ use proto_build::{
1111
};
1212

1313
/// The Cosmos SDK commit or tag to be cloned and used to build the proto files
14-
const COSMOS_SDK_REV: &str = "origin/osmosis-main";
14+
const COSMOS_SDK_REV: &str = "osmosis-main";
1515

1616
/// The osmosis commit or tag to be cloned and used to build the proto files
17-
const OSMOSIS_REV: &str = "origin/main";
17+
const OSMOSIS_REV: &str = "main";
18+
19+
/// The wasmd commit or tag to be cloned and used to build the proto files
20+
const WASMD_REV: &str = "v0.31.0-osmo-v16";
1821

1922
// All paths must end with a / and either be absolute or include a ./ to reference the current
2023
// working directory.
@@ -25,6 +28,8 @@ const OUT_DIR: &str = "../osmosis-std/src/types/";
2528
const COSMOS_SDK_DIR: &str = "../../dependencies/cosmos-sdk/";
2629
/// Directory where the osmosis submodule is located
2730
const OSMOSIS_DIR: &str = "../../dependencies/osmosis/";
31+
/// Directory where the wasmd submodule is located
32+
const WASMD_DIR: &str = "../../dependencies/wasmd/";
2833

2934
/// A temporary directory for proto building
3035
const TMP_BUILD_DIR: &str = "/tmp/tmp-protobuf/";
@@ -34,6 +39,7 @@ pub fn generate() {
3439
if args.iter().any(|arg| arg == "--update-deps") {
3540
git::update_submodule(COSMOS_SDK_DIR, COSMOS_SDK_REV);
3641
git::update_submodule(OSMOSIS_DIR, OSMOSIS_REV);
42+
git::update_submodule(WASMD_DIR, WASMD_REV);
3743
}
3844

3945
let tmp_build_dir: PathBuf = TMP_BUILD_DIR.parse().unwrap();
@@ -45,6 +51,12 @@ pub fn generate() {
4551
project_dir: OSMOSIS_DIR.to_string(),
4652
include_mods: vec![],
4753
};
54+
let wasmd_project = CosmosProject {
55+
name: "wasmd".to_string(),
56+
version: WASMD_REV.to_string(),
57+
project_dir: WASMD_DIR.to_string(),
58+
include_mods: vec![],
59+
};
4860
let cosmos_project = CosmosProject {
4961
name: "cosmos".to_string(),
5062
version: COSMOS_SDK_REV.to_string(),
@@ -64,7 +76,7 @@ pub fn generate() {
6476
out_dir,
6577
tmp_build_dir,
6678
osmosis_project,
67-
vec![cosmos_project],
79+
vec![cosmos_project, wasmd_project],
6880
);
6981

7082
osmosis_code_generator.generate();

0 commit comments

Comments
 (0)