Skip to content

Commit a244950

Browse files
authored
HIP-991: Permissionless revenue-generating Topic Ids
* chore: update submodule protobufs to v0.59.2 Signed-off-by: Ricky Saechao <[email protected]> * chore: remove unused types in transaction.proto Signed-off-by: Ricky Saechao <[email protected]> * chore: remove AccountStakersQuery Signed-off-by: Ricky Saechao <[email protected]> * feat(hip-991): permissionless revenue-generating topic ids for topic operators Signed-off-by: Ricky Saechao <[email protected]> * feat(hip-991): add e2e tests Signed-off-by: Ricky Saechao <[email protected]> * chore: update CI local node tag to 0.59.2 Signed-off-by: Ricky Saechao <[email protected]> * feat(hip-991): add new default_max_transaction_fee for TopicCreate Signed-off-by: Ricky Saechao <[email protected]> * fix: remove services tag from CI Signed-off-by: Ricky Saechao <[email protected]> * fix: remove commented code blocks with build.rs Signed-off-by: Ricky Saechao <[email protected]> --------- Signed-off-by: Ricky Saechao <[email protected]>
1 parent 91c8b1d commit a244950

File tree

212 files changed

+1569
-4141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+1569
-4141
lines changed

.github/workflows/rust-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
repo-token: ${{ secrets.GITHUB_TOKEN }}
118118

119119
- name: Start the local node
120-
run: npx @hashgraph/hedera-local start -d --network local --network-tag=0.57.0
120+
run: npx @hashgraph/hedera-local start -d --network local
121121

122122
- name: "Create env file"
123123
run: |

examples/account_alias.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use clap::Parser;
224
use hedera::{

examples/account_allowance.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use clap::Parser;
224
use hedera::{

examples/consensus_pub_sub.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use std::collections::HashMap;
224
use std::sync::Arc;

examples/consensus_pub_sub_chunked.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use std::time::Duration;
224

examples/contract/mod.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use hedera::{
224
AccountId, Client, ContractCreateFlow, ContractExecuteTransaction, ContractFunctionParameters,

examples/create_account.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use assert_matches::assert_matches;
224
use clap::Parser;

examples/create_account_threshold_key.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use clap::Parser;
224
use hedera::{

examples/create_file.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
use assert_matches::assert_matches;
224
use clap::Parser;

examples/create_simple_contract.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* ‌
3-
* Hedera Rust SDK
4-
* ​
5-
* Copyright (C) 2022 - 2023 Hedera Hashgraph, LLC
6-
* ​
7-
* Licensed under the Apache License, Version 2.0 (the "License");
8-
* you may not use this file except in compliance with the License.
9-
* You may obtain a copy of the License at
10-
*
11-
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
13-
* Unless required by applicable law or agreed to in writing, software
14-
* distributed under the License is distributed on an "AS IS" BASIS,
15-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
* See the License for the specific language governing permissions and
17-
* limitations under the License.
18-
* ‍
19-
*/
1+
// SPDX-License-Identifier: Apache-2.0
202

213
mod resources;
224

0 commit comments

Comments
 (0)