Skip to content

Commit

Permalink
Adds missing fields to TEST_JSON_ABI.
Browse files Browse the repository at this point in the history
  • Loading branch information
esdrubal committed Jul 23, 2024
1 parent 62650e7 commit 8971ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forc-plugins/forc-client/src/op/run/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ impl ScriptCallHandler {
mod tests {
use super::{ScriptCallHandler, Type};

const TEST_JSON_ABI: &str = r#"{"concreteTypes":[{"concreteTypeId":"2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
const TEST_JSON_ABI: &str = r#"{"programType": "contract","specVersion": "1","encodingVersion": "1","metadataTypes":[],
"concreteTypes":[{"concreteTypeId":"2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
"type":"()"},{"concreteTypeId":"b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903","type":"bool"},
{"concreteTypeId":"c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b","type":"u8"}],
"functions":[{"inputs":[{"name":"test_u8","concreteTypeId":"c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"},
Expand Down

0 comments on commit 8971ad1

Please sign in to comment.