瀏覽代碼

Add 20T gas for add_participant API call

develop
Silvestr Predko 2 年之前
父節點
當前提交
d7a42d7f08
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. 1
    1
      web-client/Cargo.toml
  2. 1
    0
      web-client/src/contract.rs

+ 1
- 1
web-client/Cargo.toml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存