-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into restrict-ethereum-address
- Loading branch information
Showing
5 changed files
with
189 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,12 @@ NEP: 366 | |
Title: Meta Transactions | ||
Author: Illia Polosukhin <[email protected]>, Egor Uleyskiy ([email protected]), Alexander Fadeev ([email protected]) | ||
DiscussionsTo: https://github.com/nearprotocol/neps/pull/366 | ||
Status: Draft | ||
Status: Approved | ||
Type: Protocol Track | ||
Category: Runtime | ||
Version: 1.1.0 | ||
Created: 19-Oct-2022 | ||
LastUpdated: 03-Aug-2023 | ||
--- | ||
|
||
## Summary | ||
|
@@ -149,7 +151,7 @@ DelegateActionInvalidSignature | |
|
||
```rust | ||
/// Receiver of the transaction doesn't match Sender of the delegate action | ||
DelegateActionSenderDoesNotMatchReceiver | ||
DelegateActionSenderDoesNotMatchTxReceiver | ||
``` | ||
|
||
- If the current block is equal or greater than `max_block_height` | ||
|
@@ -180,13 +182,6 @@ DelegateActionInvalidNonce | |
DelegateActionNonceTooLarge | ||
``` | ||
|
||
- If the list of delegated actions contains another `DelegateAction` | ||
|
||
```rust | ||
/// DelegateAction actions contain another DelegateAction | ||
DelegateActionCantContainNestedOne | ||
``` | ||
|
||
- If the list of Transaction actions contains several `DelegateAction` | ||
|
||
```rust | ||
|
@@ -214,6 +209,13 @@ See the **_Validation_** section in [DelegateAction specification](/specs/Runtim | |
|
||
Supporting ZK proofs instead of just signatures can allow for anonymous transactions, which pay fees to relayers anonymously. | ||
|
||
## Changelog | ||
|
||
### 1.1.0 - Adjust errors to reflect deployed reality (03-Aug`2023) | ||
|
||
- Remove the error variant `DelegateActionCantContainNestedOne` because this would already fail in the parsing stage. | ||
- Rename the error variant `DelegateActionSenderDoesNotMatchReceiver` to `DelegateActionSenderDoesNotMatchTxReceiver` to reflect published types in [near_primitives](https://docs.rs/near-primitives/0.17.0/near_primitives/errors/enum.ActionErrorKind.html#variant.DelegateActionSenderDoesNotMatchTxReceiver). | ||
|
||
## Copyright | ||
|
||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.