From 410ac2471b200a714d836b6c19377ab891dd19df Mon Sep 17 00:00:00 2001 From: Justin Rice Date: Fri, 27 Oct 2023 17:25:40 -0400 Subject: [PATCH] Rice2000 soroban caps awaiting decision (#1416) --- core/README.md | 24 ++++++++++++------------ core/cap-0046-01.md | 2 +- core/cap-0046-02.md | 4 ++-- core/cap-0046-03.md | 4 ++-- core/cap-0046-05.md | 2 +- core/cap-0046-06.md | 2 +- core/cap-0046-07.md | 2 +- core/cap-0046-08.md | 2 +- core/cap-0046-09.md | 2 +- core/cap-0046-10.md | 4 ++-- core/cap-0046-11.md | 2 +- core/cap-0046-12.md | 2 +- core/cap-0046.md | 2 +- 13 files changed, 27 insertions(+), 27 deletions(-) diff --git a/core/README.md b/core/README.md index 01d170921..e6d518ac9 100644 --- a/core/README.md +++ b/core/README.md @@ -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 | diff --git a/core/cap-0046-01.md b/core/cap-0046-01.md index b4542a0da..94fe5514e 100644 --- a/core/cap-0046-01.md +++ b/core/cap-0046-01.md @@ -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 diff --git a/core/cap-0046-02.md b/core/cap-0046-02.md index 6c860af1d..65e439b7d 100644 --- a/core/cap-0046-02.md +++ b/core/cap-0046-02.md @@ -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 @@ -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. \ No newline at end of file +apply here as well. diff --git a/core/cap-0046-03.md b/core/cap-0046-03.md index 9826bef95..924745422 100644 --- a/core/cap-0046-03.md +++ b/core/cap-0046-03.md @@ -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 @@ -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). \ No newline at end of file +Host functions have been implemented in [rs-soroban-env](https://github.com/stellar/rs-soroban-env). diff --git a/core/cap-0046-05.md b/core/cap-0046-05.md index 4eac89481..d38650697 100644 --- a/core/cap-0046-05.md +++ b/core/cap-0046-05.md @@ -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 diff --git a/core/cap-0046-06.md b/core/cap-0046-06.md index 2cb43839c..4bcff32aa 100644 --- a/core/cap-0046-06.md +++ b/core/cap-0046-06.md @@ -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 diff --git a/core/cap-0046-07.md b/core/cap-0046-07.md index 55adbb502..c738438d1 100644 --- a/core/cap-0046-07.md +++ b/core/cap-0046-07.md @@ -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 diff --git a/core/cap-0046-08.md b/core/cap-0046-08.md index c4f8bfd57..2f30a52d6 100644 --- a/core/cap-0046-08.md +++ b/core/cap-0046-08.md @@ -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 diff --git a/core/cap-0046-09.md b/core/cap-0046-09.md index fd6f3b730..50b3617d7 100644 --- a/core/cap-0046-09.md +++ b/core/cap-0046-09.md @@ -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 diff --git a/core/cap-0046-10.md b/core/cap-0046-10.md index 5c2003b3f..e2229b996 100644 --- a/core/cap-0046-10.md +++ b/core/cap-0046-10.md @@ -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 @@ -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). \ No newline at end of file +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). diff --git a/core/cap-0046-11.md b/core/cap-0046-11.md index 10d973a2e..ebed5db64 100644 --- a/core/cap-0046-11.md +++ b/core/cap-0046-11.md @@ -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 diff --git a/core/cap-0046-12.md b/core/cap-0046-12.md index 11e6ec3ba..8aa7eb500 100644 --- a/core/cap-0046-12.md +++ b/core/cap-0046-12.md @@ -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 diff --git a/core/cap-0046.md b/core/cap-0046.md index 3b1320b58..6afe7a324 100644 --- a/core/cap-0046.md +++ b/core/cap-0046.md @@ -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