소스 검색

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…
취소
저장