Skip to content

Commit 4a58e5b

Browse files
fix(sncast): add build_tool field to voyager request body (#3750)
<!-- Reference any GitHub issues resolved by this PR --> Closes #3747 ## Introduced changes <!-- A brief description of the changes --> - adds `build_tool` field to voyager verify request body ## Checklist <!-- Make sure all of these are complete --> - [x] Linked relevant issue - [ ] Updated relevant documentation - [ ] Added relevant tests - [x] Performed self-review of the code - [ ] Added changes to `CHANGELOG.md`
1 parent 411f874 commit 4a58e5b

File tree

1 file changed

+2
-0
lines changed
  • crates/sncast/src/starknet_commands/verify

1 file changed

+2
-0
lines changed

crates/sncast/src/starknet_commands/verify/voyager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub struct Body {
4040
#[serde(rename = "name")]
4141
pub contract_name: String,
4242
pub package_name: String,
43+
pub build_tool: String,
4344
pub license: Option<String>,
4445
pub files: HashMap<String, String>,
4546
}
@@ -345,6 +346,7 @@ impl<'a> VerificationInterface<'a> for Voyager<'a> {
345346
contract_name: contract_name.clone(),
346347
license: selected.manifest_metadata.license.clone(),
347348
package_name: selected.name,
349+
build_tool: "scarb".to_string(),
348350
files: files
349351
.iter()
350352
.map(|(name, path)| -> Result<(String, String)> {

0 commit comments

Comments
 (0)