Commit Graph

33 Commits

Author SHA1 Message Date
Jeff Schroeder b175dd43c8
docs: quit the spelling spam typo fix PRs with cspell magic (#3845)
* Add cspell configuration and custom dictionary

The goal is to cut down on both incoming tyops, and well meaning but
spammy tyop fix PRs.

To run cspell locally install it and run:

    cspell '**/*.md' \
        --config cspell.config.yaml \
        --words-only \
        --unique \
        --quiet | sort --ignore-case

* docs: cspell updates

* wormchain: cspell updates

* aptos: cspell updates

* node: cspell updates

* algorand: cspell updates

* whitepapers: cspell updates

* near: cspell updates

* solana: cspell updates

* terra: cspell updates

* cosmwasm: cspell updates

* ethereum: cspell updates

* clients: cspell updates

* cspell updates for DEVELOP document

* github: run cspell github action

* sdk: cspell updates

* github: only run cspell on markdown files

* algorand: EMMITTER --> EMITTER

Suggested-by: @evan-gray

* cspell: removed from dictionary

Suggested-by: @evan-gray

* aptos and node: cspell updates

Suggested-by: @evan-gray

* cosmowasm: doc updates for terra2

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* cspell: updated custom word dictionary

This resorts the dictionary and adds a few new words from the
algorand/MEMORY.md document around varints and integers.

* cspell: sort the dictionary how vscode does it

On macOS the sorting is locale dependent. To do this on macOS, you have
to invert the case, do a character insensitive sort, and then invert the
case again:

    LC_COLLATE="en_US.UTF-8" cspell '**/*.md' --config cspell.config.yaml \
        --words-only \
        --unique \
        --no-progress \
        --quiet \
    | tr 'a-zA-Z' 'A-Za-z' \
    | sort --ignore-case \
    | tr 'a-zA-Z' 'A-Za-z'

This requires the `LC_COLLATE` variable to be set to `en_US.UTF-8`, or it
will not do the right thing.

* docs: grammar clean up

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-20 15:40:02 -04:00
alex 8b39c1a9bf docs: fix typos with spell checker 2023-12-21 15:24:20 -06:00
Csongor Kiss 6168dd8ab3 near/contracts: clamp upgrade repayment delta to 0
This ensures that the refund amount is at most the attached deposit when
upgrading the contract.
2023-11-08 09:06:04 -05:00
cs 446cbaaa53 near/Dockerfile.build: fix paths in docker builder 2023-11-08 09:06:04 -05:00
heyitaki 0ecc427d6f docker: build CLI in shared image
Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-06-01 15:33:07 +01:00
jumpsiegel 4188373a69
WH-2023: light weight near sdk tests needed resolveJsonModule @ Closes #2023 (#2024) 2022-11-29 11:29:00 -06:00
Hendrik Hofstadt ff186e441a rename dev.v2 to main
Change-Id: Idfc6f88de7ee3c190a01c2196dc0bc4da91cbe4c
2022-11-29 10:43:07 -05:00
jumpsiegel 091ee0877d
WH-1934: upgrade golang to 1.19 (#1941)
* upgrade to golang 1.19.3

Co-authored-by: tbjump <>
Co-authored-by: tbjump <unknown>
2022-11-28 07:48:27 -06:00
Josh Siegel ec15d91d47 near/dockers: One docker image to rule them all 2022-10-27 09:01:19 -05:00
Evan Gray 6c6661f621 js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
Josh Siegel 9020ca6985 near/tooling: Fix up deployment tool 2022-10-19 06:33:14 -05:00
Josh Siegel af35d33bba near/artifacts: Make it easier to do governance 2022-10-15 06:37:04 -04:00
Josh Siegel d48b13ceee near/p3: Fix P3 2022-10-12 13:50:10 -05:00
kev1n-peters c5d2f9d54d
sdk/js: Near refactor, added integration tests (#1648)
* near-sdk-refactor: Fix attest
                 : Fix missing function calls
                 : make near on near
                 : renamed tryHexToNativeStringNear

* near-sdk-refactor: bumped near-sdk-js version

Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>
2022-09-28 08:53:15 -05:00
Josh Siegel 1febea03b5 algo/typo: type fix, algorand tests, near tests 2022-09-26 05:26:56 -05:00
Josh Siegel 1f518e99ee near/devnet: lets add more 2022-09-13 13:19:13 -05:00
Josh Siegel 3e8074b5f6 near/devnet: added devnet words 2022-09-13 13:19:13 -05:00
Josh Siegel 3288b0abb7 near/dust: Fix dust underflow 2022-09-12 14:00:03 -05:00
Josh Siegel 6235c3b31f near/testing: improve near tests for decimal point shifts
force algorand and indexer to update to what we are about to run in production
              add checks for fees being passed for P3 messages
2022-09-08 15:08:25 -05:00
Josh Siegel 175131cca7 near/upgradeCheck: upgrade test 2022-09-07 15:09:23 -05:00
Josh Siegel 3d194cf78e near/overFlow: check for overflow 2022-09-07 10:43:04 -05:00
Josh Siegel 1860a7fc27 near/upgradePhase1: fix some upgrade issues to make it easier to migrate in the future 2022-09-07 07:28:51 -05:00
Josh Siegel ca7c018734 near/exampleFix: Fix examples 2022-09-07 07:28:36 -05:00
jumpsiegel 8dc459b550
near/getNearEmitter: add getEmitterAddressNear (#1519) 2022-09-06 08:04:15 -05:00
Josh Siegel 29ea7a3048 near/examples: add attester 2022-08-31 12:44:29 -04:00
Josh Siegel f482460876 near/examples: check these in 2022-08-31 12:44:29 -04:00
jumpsiegel 6bbbd29059
near: remove wormhole from token name (#1492) 2022-08-31 12:44:07 -04:00
Josh Siegel e4cbb67dc0 near/transfer-test: transfer test and sdk fix 2022-08-30 15:14:55 -05:00
Evan Gray f28e39c490 certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
Josh Siegel 0fc3e8badc near/audit2: more audit cleanup 2022-08-26 09:21:34 -05:00
Josh Siegel a752e1309c near/audit: audit feedback 2022-08-25 09:16:32 -05:00
Josh Siegel dd2b325784 near/contracts-2: revert this back to 2021 since 2022 breaks a lot of tools 2022-08-24 15:11:05 -04:00
Josh Siegel 4fe9841810 near: initial commit 2022-08-24 15:11:05 -04:00