From 7d7821b9af132b0f6131640195326aa02b6751db Mon Sep 17 00:00:00 2001 From: Marko Date: Mon, 9 Dec 2019 12:32:53 +0100 Subject: [PATCH] Add Scaffolding tooling to README (#5376) - added scaffolding tool to README - removed unnecessary docs Signed-off-by: Marko Baricevic --- README.md | 4 ++++ docs/core/ocap.md | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 3d3e8ffd9d..54338119ab 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,10 @@ For more, please go to the [Cosmos SDK Docs](./docs/README.md) The Cosmos Hub application, `gaia`, has moved to its [own repository](https://github.com/cosmos/gaia). Go there to join the Cosmos Hub mainnet and more. +## Scaffolding + +If you are starting a new app or a new module we provide a [scaffolding tool](https://github.com/cosmos/scaffold) to help you get started and speed up development. If you have any questions or find a bug, feel free to open an issue in the repo. + ## Disambiguation This Cosmos-SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here. diff --git a/docs/core/ocap.md b/docs/core/ocap.md index ff0fa78cd6..8322ce4ec5 100644 --- a/docs/core/ocap.md +++ b/docs/core/ocap.md @@ -42,20 +42,6 @@ foundation of an object capability system. For an introduction to object-capabilities, see [this article](https://en.wikipedia.org/wiki/Object-capability_model). -Strictly speaking, Golang does not implement object capabilities -completely, because of several issues: - -- pervasive ability to import primitive modules (e.g. "unsafe", "os") -- pervasive ability to [override module vars](https://github.com/golang/go/issues/23161) -- data-race vulnerability where 2+ goroutines can create illegal interface values - -The first is easy to catch by auditing imports and using a proper -dependency version control system like Dep. The second and third are -unfortunate but it can be audited with some cost. - -Perhaps [Go2 will implement the object capability -model](https://github.com/golang/go/issues/23157). - ## Ocaps in practice The idea is to only reveal what is necessary to get the work done.