This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1463 from hyperledger/types-refactor-lint
Convert burrow.js to use idiomatic typescript and switch to ethers.js
- Loading branch information
Showing
174 changed files
with
3,053 additions
and
4,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
*.pb.go linguist-generated | ||
*_pb.d.ts linguist-generated | ||
*_pb.js linguist-generated | ||
yarn.lock linguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
### Changed | ||
- [JS] Significant refactor/rewrite of Burrow.js into idiomatic Typescript including some breaking changes to API | ||
- [JS] Change to use ethers.js for ABI encoding | ||
|
||
### Fixed | ||
- [Dump] Make load from dump set tx index so BlockAccumulator continuity conditions are met | ||
- [Dump] Improve error messages | ||
- [State] Fixed cache-concurrency bug (https://github.com/hyperledger/burrow/commit/314357e0789b0ec7033a2a419b816d2f1025cad0) and ensured consistency snapshot is used when performing simulated call reads | ||
- [Web3] Omit empty values from JSONRPC calls | ||
|
||
### Added | ||
- [Tendermint] Added support for passing node options to Tendermint - e.g. custom reactors (thanks @nmanchovski!) | ||
- [JS] Historic events can now be requested via API | ||
- [JS] Contract deployments will now include ABIs via contract metadata so Burrow's ABI registry can be used | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module.exports = { | ||
env: { | ||
es6: true, | ||
node: true, | ||
mocha: true, | ||
}, | ||
extends: ['plugin:@typescript-eslint/recommended'], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly', | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
rules: { | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
printWidth: 120, | ||
singleQuote: true, | ||
useTabs: false, | ||
tabWidth: 2, | ||
trailingComma: 'all', | ||
}, | ||
], | ||
'@typescript-eslint/no-namespace': 'off', | ||
curly: 2, | ||
}, | ||
}; |
Oops, something went wrong.