From 46524cf1642c9b153edde43b5b4f1d8a11a2d639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Thu, 6 Aug 2020 14:37:22 +0200 Subject: [PATCH] docs: Update external links to github repos that were moved --- docs/contracts/events.rst | 4 ++-- docs/metadata.rst | 2 +- docs/resources.rst | 4 ++-- docs/security-considerations.rst | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/contracts/events.rst b/docs/contracts/events.rst index 820039707..b7289e784 100644 --- a/docs/contracts/events.rst +++ b/docs/contracts/events.rst @@ -161,5 +161,5 @@ Additional Resources for Understanding Events ============================================== - `Javascript documentation `_ -- `Example usage of events `_ -- `How to access them in js `_ +- `Example usage of events `_ +- `How to access them in js `_ diff --git a/docs/metadata.rst b/docs/metadata.rst index 240814adc..bd827a0d8 100644 --- a/docs/metadata.rst +++ b/docs/metadata.rst @@ -202,6 +202,6 @@ This automatically verifies the metadata since its hash is part of the bytecode. Excess data corresponds to the constructor input data, which should be decoded according to the interface and presented to the user. -In the repository `source-verify `_ +In the repository `sourcify `_ (`npm package `_) you can see example code that shows how to use this feature. diff --git a/docs/resources.rst b/docs/resources.rst index 02c1930aa..157f7d066 100644 --- a/docs/resources.rst +++ b/docs/resources.rst @@ -75,7 +75,7 @@ Solidity Integrations * `Vim Solidity `_ Plugin for the Vim editor providing syntax highlighting. - * `Vim Syntastic `_ + * `Vim Syntastic `_ Plugin for the Vim editor providing compile checking. * Visual Studio Code: @@ -145,5 +145,5 @@ Third-Party Solidity Parsers and Grammars * `solidity-parser `_ Solidity parser for JavaScript -* `Solidity Grammar for ANTLR 4 `_ +* `Solidity Grammar for ANTLR 4 `_ Solidity grammar for the ANTLR 4 parser generator diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst index a471fdd00..3a6d5dfd6 100644 --- a/docs/security-considerations.rst +++ b/docs/security-considerations.rst @@ -259,7 +259,7 @@ more special edge cases for signed numbers. Try to use ``require`` to limit the size of inputs to a reasonable range and use the :ref:`SMT checker` to find potential overflows, or use a library like -`SafeMath `_ +`SafeMath `_ if you want all overflows to cause a revert. Code such as ``require((balanceOf[_to] + _value) >= balanceOf[_to])`` can also help you check if values are what you expect.