Skip to content

Commit

Permalink
Rice2000 soroban caps awaiting decision (#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
rice2000 authored Oct 27, 2023
1 parent 47f8669 commit 410ac24
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 27 deletions.
24 changes: 12 additions & 12 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@
| [CAP-0043](cap-0043.md) | ECDSA Signers with P-256 and secp256k1 Curves | Leigh McCulloch | Draft |
| [CAP-0044](cap-0044.md) | SPEEDEX - Configuration | Jonathan Jove | Draft |
| [CAP-0045](cap-0045.md) | SPEEDEX - Pricing | Jonathan Jove | Draft |
| [CAP-0046](cap-0046.md) | Soroban smart contract system overview | Graydon Hoare | Draft |
| [CAP-0046-01 (formerly 0046)](cap-0046-01.md) | WebAssembly Smart Contract Runtime Environment | Graydon Hoare | Draft |
| [CAP-0046-02 (formerly 0047)](cap-0046-02.md) | Smart Contract Lifecycle | Siddharth Suresh | Draft |
| [CAP-0046-03 (formerly 0051)](cap-0046-03.md) | Smart Contract Host Functons | Jay Geng | Draft |
| [CAP-0046-05 (formerly 0053)](cap-0046-05.md) | Smart Contract Data | Graydon Hoare | Draft |
| [CAP-0046-06 (formerly 0054)](cap-0046-06.md) | Smart Contract Standardized Asset | Jonathan Jove | Draft |
| [CAP-0046-07 (formerly 0055)](cap-0046-07.md) | Fee model in smart contracts | Nicolas Barry | Draft |
| [CAP-0046-08 (formerly 0056)](cap-0046-08.md) | Smart Contract Logging | Siddharth Suresh | Draft |
| [CAP-0046-09](cap-0046-09.md) | Network Configuration Ledger Entries | Dmytro Kozhevin | Draft |
| [CAP-0046-10](cap-0046-10.md) | Smart Contract Budget Metering | Jay Geng | Draft |
| [CAP-0046-11](cap-0046-11.md) | Soroban Authorization Framework | Dmytro Kozhevin | Draft |
| [CAP-0046-12](cap-0046-12.md) | Soroban State Archival Interface | Garand Tyson | Draft |
| [CAP-0046](cap-0046.md) | Soroban smart contract system overview | Graydon Hoare | Awaiting Decision |
| [CAP-0046-01 (formerly 0046)](cap-0046-01.md) | WebAssembly Smart Contract Runtime Environment | Graydon Hoare | Awaiting Decision |
| [CAP-0046-02 (formerly 0047)](cap-0046-02.md) | Smart Contract Lifecycle | Siddharth Suresh | Awaiting Decision |
| [CAP-0046-03 (formerly 0051)](cap-0046-03.md) | Smart Contract Host Functons | Jay Geng | Awaiting Decision |
| [CAP-0046-05 (formerly 0053)](cap-0046-05.md) | Smart Contract Data | Graydon Hoare | Awaiting Decision |
| [CAP-0046-06 (formerly 0054)](cap-0046-06.md) | Smart Contract Standardized Asset | Jonathan Jove | Awaiting Decision |
| [CAP-0046-07 (formerly 0055)](cap-0046-07.md) | Fee model in smart contracts | Nicolas Barry | Awaiting Decision |
| [CAP-0046-08 (formerly 0056)](cap-0046-08.md) | Smart Contract Logging | Siddharth Suresh | Awaiting Decision |
| [CAP-0046-09](cap-0046-09.md) | Network Configuration Ledger Entries | Dmytro Kozhevin | Awaiting Decision |
| [CAP-0046-10](cap-0046-10.md) | Smart Contract Budget Metering | Jay Geng | Awaiting Decision |
| [CAP-0046-11](cap-0046-11.md) | Soroban Authorization Framework | Dmytro Kozhevin | Awaiting Decision |
| [CAP-0046-12](cap-0046-12.md) | Soroban State Archival Interface | Garand Tyson | Awaiting Decision |

### Rejected Proposals
| Number | Title | Author | Status |
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Graydon Hoare <@graydon>
Authors: Graydon Hoare <@graydon>
Consulted: Leigh McCulloch <@leighmcculloch>, Tomer Weller <@tomerweller>, Jon Jove <@jonjove>, Nicolas Barry <@MonsieurNicolas>, Thibault de Lacheze-Murel <@C0x41lch0x41>
Status: Draft
Status: Awaiting Decision
Created: 2022-04-18
Discussion: https://groups.google.com/g/stellar-dev/c/X0oRzJoIr10
Protocol version: TBD
Expand Down
4 changes: 2 additions & 2 deletions core/cap-0046-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Siddharth Suresh <@sisuresh>
Authors: Siddharth Suresh <@sisuresh>, Dmytro Kozhevin <@dmkozh>, Jay Geng <@jayz22>
Consulted: Graydon Hoare <@graydon>, Jon Jove <@jonjove>, Leigh McCulloch <@leighmcculloch>, Nicolas Barry <@MonsieurNicolas>
Status: Draft
Status: Awaiting Decision
Created: 2022-05-02
Discussion:
Protocol version: TBD
Expand Down Expand Up @@ -289,4 +289,4 @@ may not exist (for example, some general contracts like tokens or AMMs).

The security concerns from CAP-0046
(https://github.com/stellar/stellar-protocol/blob/master/core/cap-0046.md#security-concerns)
apply here as well.
apply here as well.
4 changes: 2 additions & 2 deletions core/cap-0046-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Jay Geng <@jayz22>, Graydon Hoare <@graydon>
Authors: Jay Geng <@jayz22>
Consulted: Leigh McCulloch <@leighmcculloch>, Nicolas Barry <@MonsieurNicolas>, Siddharth Suresh <@sisuresh>
Status: Draft
Status: Awaiting Decision
Created: 2022-05-20
Discussion: TBD
Protocol version: TBD
Expand Down Expand Up @@ -530,4 +530,4 @@ One downside of allowing error code as return value is the ambiguity of "fail wi
The security concerns are the same as what have been outlined in CAP-0046. By expanding the host object repertoire and introducing host functions that create and operate on host objects on-the-fly during runtime, we’ve expanded the surface where those concerns manifest. In particular, this CAP aims to address “the risk of mis-metering of guest-controlled resources and denial of service”, by detailing the exact metrics of resource accounting on both the guest and the host side.

## Implementation
Host functions have been implemented in [rs-soroban-env](https://github.com/stellar/rs-soroban-env).
Host functions have been implemented in [rs-soroban-env](https://github.com/stellar/rs-soroban-env).
2 changes: 1 addition & 1 deletion core/cap-0046-05.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Graydon Hoare <@graydon>
Authors: Graydon Hoare <@graydon>
Consulted: Siddharth Suresh <@sisuresh>, Jon Jove <@jonjove>, Nicolas Barry <@MonsieurNicolas>, Leigh McCulloch <@leighmcculloch>, Tomer Weller <@tomerweller>
Status: Draft
Status: Awaiting Decision
Created: 2022-05-25
Discussion: https://groups.google.com/g/stellar-dev/c/vkzMeM_t7e8
Protocol version: TBD
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-06.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Working Group:
Owner: Jonathan Jove <@jonjove>
Authors: Jonathan Jove <@jonjove>, Siddharth Suresh <@sisuresh>,
Consulted: Nicolas Barry <@monsieurnicolas>, Leigh McCulloch <@leighmcculloch>, Tomer Weller <@tomerweller>
Status: Draft
Status: Awaiting Decision
Created: 2022-05-31
Discussion: TBD
Protocol version: TBD
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-07.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Working Group:
Owner: MonsieurNicolas
Authors: dmkozh
Consulted:
Status: Draft
Status: Awaiting Decision
Created: 2022-06-03
Discussion: TBD
Protocol version: TBD
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-08.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Siddharth Suresh <@sisuresh>
Authors:
Consulted:
Status: Draft
Status: Awaiting Decision
Created: 2022-06-29
Discussion: TBD
Protocol version: TBD
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-09.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Dmytro Kozhevin <@dmkozh>
Authors: Dmytro Kozhevin <@dmkozh>, Siddharth Suresh <@sisuresh>
Consulted:
Status: Draft
Status: Awaiting Decision
Created: 2022-11-01
Discussion:
Protocol version: TBD
Expand Down
4 changes: 2 additions & 2 deletions core/cap-0046-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Jay Geng <@jayz22>, Graydon Hoare <@graydon>
Authors: Jay Geng <@jayz22>
Consulted: Nicolas Barry <@MonsieurNicolas>, Dmytro Kozhevin <@dmkozh>
Status: Draft
Status: Awaiting Decision
Created: 2022-12-20
Discussion: TBD
Protocol version: TBD
Expand Down Expand Up @@ -186,4 +186,4 @@ Missed or inaccurate metering can cause security concerns in two aspects:
- **Under-Utilization of the Ledger Capacity**: this is not a direct attack per se. However, a side effect of overestimation in metering, is the ledger could be filled with many (deliberately crafted) fast contract transactions which theoretically could require more resource at the worst case, causing the ledger to be under-utilized. This may in turn cause other (important) transactions to queue up and not making into the ledger in a reasonable time.

## Implementation
Metering, budget and calibration has been implemented in the [soroban-env](https://github.com/stellar/rs-soroban-env). Related integration work (such as the config settings) have been done in stellar-core and [soroban-sdk](https://github.com/stellar/rs-soroban-sdk).
Metering, budget and calibration has been implemented in the [soroban-env](https://github.com/stellar/rs-soroban-env). Related integration work (such as the config settings) have been done in stellar-core and [soroban-sdk](https://github.com/stellar/rs-soroban-sdk).
2 changes: 1 addition & 1 deletion core/cap-0046-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Dmytro Kozhevin <@dmkozh>
Authors: Dmytro Kozhevin <@dmkozh>
Consulted:
Status: Draft
Status: Awaiting Decision
Created: 2023-07-28
Discussion:
Protocol version: 20
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Garand Tyson <@SirTyson>
Authors: Garand Tyson <@SirTyson>, Siddharth Suresh <@sisuresh>
Consulted: Nicolas Barry <@MonsieurNicolas>
Status: Draft
Status: Awaiting Decision
Created: 2023-09-14
Discussion:
Protocol version: 20
Expand Down
2 changes: 1 addition & 1 deletion core/cap-0046.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Working Group:
Owner: Graydon Hoare <@graydon>
Authors: Graydon Hoare <@graydon>, Siddharth Suresh <@sisuresh>, Dmytro Kozhevin <@dmkozh>, Jay Geng <@jayz22>, Garand Tyson <@SirTyson>
Consulted: Leigh McCulloch <@leighmcculloch>, Tomer Weller <@tomerweller>, Jon Jove <@jonjove>, Nicolas Barry <@MonsieurNicolas>, Thibault de Lacheze-Murel <@C0x41lch0x41>
Status: Draft
Status: Awaiting Decision
Created: 2022-10-27
Discussion:
Protocol version: TBD
Expand Down

0 comments on commit 410ac24

Please sign in to comment.