Browse Source

Merge pull request #109 from Relayz-io/silvestr/fix-gas-usage-for-add_participant

Add 20T gas for add_participant API call
develop
Predko Silvestr 1 year ago
parent
commit
e91b8db0f8
No account linked to committer's email address
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      web-client/Cargo.toml
  2. 1
    0
      web-client/src/contract.rs

+ 1
- 1
web-client/Cargo.toml View File

@@ -1,6 +1,6 @@
1 1
 [package]
2 2
 name = "web-client"
3
-version = "0.1.1"
3
+version = "0.1.2"
4 4
 edition = "2021"
5 5
 authors = ["silvestr@relayz.io"]
6 6
 description = """

+ 1
- 0
web-client/src/contract.rs View File

@@ -49,6 +49,7 @@ pub async fn add_participant(
49 49
             "meet_id": meet_id,
50 50
             "participant": participant
51 51
         }))
52
+        .gas(parse_gas!("20 T") as u64)
52 53
         .commit(Finality::None)
53 54
         .await?
54 55
         .id();

Loading…
Cancel
Save