-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #427 from rsksmart/release-events-fix
Express amount value as weis in release related events
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
rskip: 427 | ||
title: Express the amount value in wei for peg-out related events | ||
created: 17-APR-24 | ||
author: MI | ||
purpose: Usa | ||
layer: Core | ||
complexity: 1 | ||
status: Draft | ||
description: | ||
--- | ||
|
||
|RSKIP |427 | | ||
| :------------ |:-------------| | ||
|**Title** |Express the amount value in wei for peg-out related events | | ||
|**Created** |17-APR-24 | | ||
|**Author** |MI | | ||
|**Purpose** |Usa | | ||
|**Layer** |Core | | ||
|**Complexity** |1 | | ||
|**Status** |Draft | | ||
|
||
## Abstract | ||
|
||
This RSKIP proposes a change in the unit used in `amount` field of `release_request_received` and `release_request_rejected` Bridge events. The proposal is to express the amount in **weis** instead of **satoshis**. | ||
|
||
## Motivation | ||
|
||
According to the original specification [1] `release_request_received` and `release_request_rejected` Bridge events should express the _amount_ field in weis. | ||
|
||
## Specification | ||
|
||
When `release_request_received` or `release_request_rejected` Bridge events are emitted, the _amount_ field should have the value in weis that the user sent to the Bridge. The change only affects the value used when the events are emitted, signatures remain unchanged. | ||
|
||
## Backward Compatibility | ||
|
||
This change is a hard fork and therefore all full nodes must be updated. | ||
|
||
## References | ||
|
||
[1] [RSKIP185](https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP185.md) | ||
|
||
### 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