Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hip 991 patch #1044

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Hip 991 patch #1044

merged 4 commits into from
Sep 11, 2024

Conversation

netopyr
Copy link
Contributor

@netopyr netopyr commented Sep 11, 2024

Neurone and others added 4 commits September 4, 2024 18:55
Update parameters;

Signed-off-by: Giuseppe Bertone <giuseppe.bertone@hashgraph.com>
Several in depth technical discussions have taken place and this is a PR to add the conclusions of those conversations to the HIP to correctly reflect the implementation
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
@netopyr netopyr self-assigned this Sep 11, 2024
Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for hedera-hips ready!

Name Link
🔨 Latest commit e04eee5
🔍 Latest deploy log https://app.netlify.com/sites/hedera-hips/deploys/66e1a882f57a5d000814fd19
😎 Deploy Preview https://deploy-preview-1044--hedera-hips.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@ty-swirldslabs ty-swirldslabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mgarbs mgarbs merged commit 090259e into main Sep 11, 2024
12 of 13 checks passed
@mgarbs mgarbs deleted the hip-991-patch branch September 11, 2024 15:18
}
```

#### ConsensusUpdateTopicTransactionBody

The `ConsensusUpdateTopicTransactionBody` message is updated to include the optional Fee Schedule Key and `custom_fees` property for specifying fixed fees during topic creation.
The `ConsensusUpdateTopicTransactionBody` message is updated to include the optional Fee Schedule Key, the optional Fee Exempt Key List, and the `custom_fees` property for specifying fixed fees during topic creation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The `ConsensusUpdateTopicTransactionBody` message is updated to include the optional Fee Schedule Key, the optional Fee Exempt Key List, and the `custom_fees` property for specifying fixed fees during topic creation.
The `ConsensusUpdateTopicTransactionBody` message is updated to include the optional Fee Schedule Key, the optional Fee Exempt Key List, the `custom_fees` property for specifying fixed fees during topic creation, and the `key_verification_mode` property for specifying whether invalid keys are allowed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key_verification_mode should be explained in the text above


#### Fee Exclusions (SDK)
* **Signatures for Invalid/Inactive/Deleted Accounts**:
- The FEKL list will only require keys to be formally valid as per protobuf specifications, meaning they must be correctly formatted key structures. These are keys, not accounts. Even if an account associated with a key is inactive, deleted, or non-existent, the key itself can still be added to the FEKL.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is key_verification_mode meant to change this behavior?

@@ -105,24 +105,40 @@ We propose adding a fixed fee mechanism to the Hedera Consensus Service (HCS) fo
* If the `allowCustomFeesPayment` flag is not set or is not true, the SDK returns an error.
* The `allowCustomFeesPayment` flag exists only in the SDK and isn't enforced by the network.

* **Allowance Transactions**:
- An account submits a transaction to grant an allowance (total fees and maximum fee per message) to a topic for both HBAR and HTS tokens. This transaction type reuses the existing allowance concept, with no need for a separate delete allowance transaction. To remove an allowance, the user will submit the same transaction with the allowance values set to 0 or a dedicated flag indicating allowance removal.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- An account submits a transaction to grant an allowance (total fees and maximum fee per message) to a topic for both HBAR and HTS tokens. This transaction type reuses the existing allowance concept, with no need for a separate delete allowance transaction. To remove an allowance, the user will submit the same transaction with the allowance values set to 0 or a dedicated flag indicating allowance removal.
- An account submits a transaction to grant an allowance (total fees and maximum fee per message) to a topic for both HBAR and HTS tokens. This transaction type reuses the existing allowance concept, with no need for a separate delete allowance transaction. To remove an allowance, the user will submit the same transaction with the allowance values set to 0.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a flag specified in the FeeScheduleAllowance messages below, so I'm thinking that we decided against a dedicated flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants