-
Notifications
You must be signed in to change notification settings - Fork 112
Conversation
e292d13
to
c8ec2d7
Compare
015993f
to
a4cf172
Compare
- run: | ||
name: Install Go linter | ||
command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2 | ||
command: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a particular reason that we used goreleaser
at @albrow. I decided to use the script that was provided by golangci
, but I'm happy to change this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The golangci
team probably just changed their recommendation. This looks fine to me.
@@ -26,7 +27,7 @@ func Open(path string) (*DB, error) { | |||
// The global willLoadBrowserFS variable indicates whether browserFS will be | |||
// loaded. browserFS has to be explicitly loaded in by JavaScript (and | |||
// typically Webpack) and can't be loaded here. | |||
if willLoadBrowserFS := js.Global().Get("willLoadBrowserFS"); willLoadBrowserFS != js.Undefined() && willLoadBrowserFS.Bool() == true { | |||
if willLoadBrowserFS := js.Global().Get("willLoadBrowserFS"); !jsutil.IsNullOrUndefined(willLoadBrowserFS) && willLoadBrowserFS.Bool() == true { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@albrow Is there a reason not to check IsNull
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never set it to null
at any point. But it doesn't really hurt to check anyways so I'm okay with this change.
@@ -14,7 +14,8 @@ | |||
"composite": true, | |||
"declaration": true, | |||
"declarationMap": true, | |||
"sourceMap": true | |||
"sourceMap": true, | |||
"allowJs": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@albrow This setting allows us to include Javascript files along with our Typescript. tsc
generates the appropriate declaration and map files.
This allowed me to avoid converting wasm_exec.js
to a Typescript file. Any reason why you think this is a bad idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has been moved to @0x/mesh-browser-lite
's tsconfig.json
now, but this comment is still relevant.
@@ -198,7 +198,7 @@ func (a *AssetDataDecoder) Decode(assetData []byte, decodedAssetData interface{} | |||
} | |||
|
|||
// This is necessary to prevent a nil pointer exception for ABIs with no inputs | |||
if info.abi.Methods[info.name].Inputs.LengthNonIndexed() == 0 { | |||
if len(info.abi.Methods[info.name].Inputs.NonIndexed()) == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Geth removed the LengthNonIndexed
function entirely.
// our smart contracts. It removes the ChainID and ExchangeAddress fields. | ||
func (s *SignedOrder) Trim() wrappers.TrimmedOrder { | ||
return wrappers.TrimmedOrder{ | ||
func (s *SignedOrder) Trim() wrappers.LibOrderOrder { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
abigen
now generates good names for all of the generated types, so it wasn't necessary to alias these names to TrimmedOrder
anymore.
@@ -874,7 +874,7 @@ func (d *Decoder) decodeERC721(log types.Log, decodedLog interface{}) error { | |||
|
|||
erc721Err := unpackLog(decodedLog, eventName, log, d.erc721ABI) | |||
if erc721Err != nil { | |||
if _, ok := erc721Err.(UnsupportedEventError); ok { | |||
if strings.Contains(erc721Err.Error(), "Unpack(no-values unmarshalled") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this change? It functionally changes how we handle UnsupportedEventError
and looks like it introduces a bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was made due to a change in the way that Go's abi
package unmarshals events. There is no longer a way to distinguish invalid events by looking at the difference in length between indexed
and len(topics) - 1
from what I could tell by trying to fix the bug that was introduced by upgrading.
The error that is now emitted when an invalid ERC721 asset data is passed to unpackLog
is something that begins with the error seen above.
FWIW, this passes all of the tests with the same behavior as the old if
statement, but I'll grant you that the tests passing is not the same as a bug not existing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the strings.Contains(erc721Err.Error(), "Unpack(no-values unmarshalled")
to unpackLog
instead of doing it here?
Basically change this:
if len(indexed) != len(log.Topics[1:]) {
return UnsupportedEventError{Topics: log.Topics, ContractAddress: log.Address}
}
To:
if err := _abi.Unpack(decodedEvent, event, log.Data); err != nil {
if strings.Contains(err.Error(), "Unpack(no-values unmarshalled") {
return UnsupportedEventError{Topics: log.Topics, ContractAddress: log.Address}
}
return err
}
We should avoid error string comparisons altogether if possible, however, we can't avoid it here because of how the error is created in go-ethereum
. In this case, we should try and keep the string comparison as close as possible to the original call site (i.e. in this case where we call ABI.Unpack
).
This will also make the code more consistent with the previous behavior. As it is currently written there are two differences that could cause problems:
- There are situations where we used to return
UnsupportedEventError
fromunpackLog
but we currently do not. Namely, ifABI.Unpack
fails. - There are situations where we used to return
UnsupportedEventError
fromdecodeERC721
but we currently do not. Namely, if the fallback encoding fails we returnerc721Err
.
@jalextowle Before we merge I still want to double check the changes that you made to |
@@ -916,6 +914,9 @@ func (d *Decoder) decodeExchange(log types.Log, decodedLog interface{}) error { | |||
func unpackLog(decodedEvent interface{}, event string, log types.Log, _abi abi.ABI) error { | |||
if len(log.Data) > 0 { | |||
if err := _abi.Unpack(decodedEvent, event, log.Data); err != nil { | |||
if strings.Contains(err.Error(), "Unpack(no-values unmarshalled") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@albrow I needed to place this in a slightly different place than what you suggested. This is actually where the event seems to be emitted.
What's weird is that it seems like the event only has two topics, which suggests that there could be a bug in the way that Geth handles non-indexed topics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jalextowle can you update CONTRIBUTING.md with new instructions for Go 1.14? After that, LGTM.
ea16955
to
e9c3669
Compare
* Addressed minor comments from the last release PR (#817) * Upgrade Mesh to Go 1.14 (#815) * Made changes necessary for native binaries to build * Document go-ethereum dependecy * Got go tests to pass * Updated geth fork to get some wasm tests to pass * Fixed some build errors and tests * Documented the `goleveldb` dependency * Updated goleveldb and go-ws-transport * All WebAssembly tests are now passing -- with the wrong `wasm_exec.ts` * Update CI and dockerfiles * Fix go linting errors * Fix linting in CI * Remove vendor step in CI to try to fix linting issues * Documented the change in vendoring in CI * Updated goleveldb dep after switching to `IsUndefined` and `IsNull` * Updated go-ws-transport after switching to `IsUndefined` * Switched to `IsUndefined` and `IsNull` * Updated changelog * Reverted some unnecessary changes * Moved `allowJs` into `@0x/mesh-browser-lite`'s `tsconfig.json` * Update to typescript `3.9.3` * Update geth dependency * Update `parseTopics` to use the new version from geth * Addressed review feedback from @albrow * Updated geth again * Updated geth another time * Fixed `wasm_exec.js` after rebase * Changes to deps after rebuilding * Updated the contributing guide * Updated webpack-example dependendencies * Fixed small inconsistency in contributing guide * Improves the DevEx of working on Typescript (#818) * Adjust the way that local dependencies are linked * Improved `yarn clean` * Added `prettier` to Mesh * Updated cut-release script * Build dependencies automatically when building a single package * Make browser integration tests more effecient * Update CONTRIBUTING.md * Add some files to .prettierignore * Change tsconfig for two examples to output to lib * Add note to CONTRIBUTING.md about TSLint configuration * Remove from package.json * Fixed nits * Remove `$PKG` * Fix tsc -b at the root of the project Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * Big database upgrade (#793) * Strip out all existing database code * rename meshdb package to db * Implement first db tests for adding/finding orders * Add basic support for Orders and MiniHeaders * Implement and test UpdateOrder * Implement sorting orders * Imlpement and test limit and offset * Implement and test filters for finding orders * Add fields for parsed MakerAssetData and MakerFeeAssetData * Add test cases for filtering based on parsed maker asset data * Implement and test helper methods for filtering based on parsed asset data * Rename some FilterOpts fields * Remove unneeded quotes * Add OF prefix to OrderField constants * Implement and test MiniHeaders query options * Implement and test deleting orders with a filter * Implement and test DeleteOrder * Refactor db package to use common/types * Implement and test deleting miniHeaders. Adjust implementation of DeleteOrders * Update all types. Fix build * Automatically remove miniHeaders above retention limit * Add new options for database to configure max mini headers * Get all blockwatch tests passing 😄 * Add new db options * Implement and test CountOrders * Begin fixing some bugs in order watcher tests * Uncomment all remaining orderwatcher tests (except max expiration) * Implement and test metadata methods * Fix bug in sqltypes.BigInt. Get ratelimit tests passing * Fix some additional tests and unimplemented methods in core * Implement core.GetStats. Move data dir for most integration tests to /tmp * Implement new getOrders RPC endpoint * Re-enable ordersync tests * Remove expirationwatch package * Return db.ErrNotFound where appropriate. Remove old TODOs * Set up basic skeleton for Dexie.js implementation * Implement most order methods in Dexie.js Not implemented: - Query filters - Multiple sort parameters * Fix bugs and add support for order queries with one filter * Add support for multiple filters * Use checkOrderQuery function for both Dexie and SQL * Fix bug in SQL implementation involving big numbers * Add support for multiple sort values in Dexie * Implement AddMiniHeaders in Dexie * Implement remaining MiniHeaders methods in Dexie * Implement Metadata methods in Dexie * Fix failing TypeScript and Wasm tests * Fix some build issues * Fix bug in OrderWatcher * Fix failing conversion tests * Fix any remaining failing tests * Fix linter errors * Fix build errors * Update yarn.lock * Add backwards compatibility layer for FilteredPaginationSubprotocol * Re-use existing asset data decoder from orderwatcher * Remove remaining uses of goleveldb * Improve handling of db closed error * Rename some identifiers * Address some low hanging TODOs * De-dupe and refactor DB test cases * Change how context is passed in to core.App * Add missing exit 0 to some clean commands * Address remaining TODOs in sql_implementation * Address remaining TODOs in database.ts * Address remaining TODOs in order_watcher.go * Minor changes and cleanup * Fix yarn.lock * Respond to PR feedback * Fix bug in database.ts * Address remaining PR feedback * Address third round PR feedback * Address review feedback part 4 * Fix linter * Add benchmark for ValidateOrder (#819) * Optimize InefficientlyConvertToJS (#820) * Optmimize jsutil.InefficientlyConvertToJS * Add missing build tag * Update go.mod and go.sum * Updated `prettier` to include all markdown files (#830) * Updated `prettier` to ignore all markdown files * Start running `prettier` on markdown * Removed `RELEASE_CHANGELOG.md` generation * Updated logrus dependency (#834) * Add workaround for Dexie transaction-related errors (#835) * Increased the `ratelimiter` tolerance (#836) * Re-implement dynamic max expiration time (#832) * Implement removing orders with longest expiration time in SQL * Implement removing orders with longest expiration time in Dexie * Implement first pass of setting max expiration time in orderwatcher * Consider pinned orders correctly regarding max expiration time * Tweak max expiration time behavior * Add test for GetCurrentMaxExpirationTime * Simplify implementation by removing slowCounter and calculating max exp time as needed * Add clarifying comment * Account for pinned orders in meshSpecificOrderValidation * Slightly simplify orderwatch.Watcher.add based on PR feedback * Include pinned order in TestOrderWatcherDecreaseExpirationTime * Optimize FindMiniHeaders by using gob encoding for event logs (#840) * Optimize FindMiniHeaders by using gob encoding for event logs * Add test for MiniHeaderToCommonType and MiniHeaderFromCommonType * Rename a variable * Update mesh.ts (#842) Fix issue where initial query for orderInfos can come back empty. * Add prettier step to `make cut-release` (#845) * Fixed small bug in the ws rpc client (#847) * Directly compute packed length of RPC call (#846) * Add computeOptimalChunkSizes benchmark * computeABIEncodedSignedOrderByteLength without ABI encoding * Move unused code to tests * fmt * Requested changes * More requested changes Co-authored-by: Mason Liang <mason@0x.org> * Update TypeScript compiler target to es2016 (#850) * Cleanup TypeScript packages (#851) * Rename all packages/ directories to match package name * Audit all dependencies vs. devDependencies * Fix doc generation for browser and browser-lite * Update removedChecker to use countInterval (#839) * Update removedChecker to use countInterval * gofmt * Requested changes * Revert using errgroup Co-authored-by: Mason Liang <mason@0x.org> * Parallelize requesting from peers in `ordersync` (#848) * Parallelized part of `GetOrders` * Added an inner context to cut `getOrdersFromPeer` short * Refactored ordersync to request from a new peer as soon as possible * Improved ordersync `GetOrders` slightly * Adjusted `maxPeersInParallel` * Addressed review feedback from @albrow * Switched to `sync.RWMutex` * Addressed lingering review feedback from @albrow * Store order validation block (#853) * Add support for storing block metadata for orders in db package * Set block metadata for orders in order_watcher * Improve tests for setting last validated block * Add new fields to Order in database.ts * Use errgroup (#852) * Use errgroup * Fixed data race * SyncToLatestBlock to prevent race at cleanup * Re-add logging for errors * gofmt * Remove now unneeded SyncToLatestBlock * Add loop name to logging output * Use correct names * Add pointer to golang faq Co-authored-by: Mason Liang <mason@0x.org> Co-authored-by: Alex Towle <jalextowle@gmail.com> * Simplify unexpiration logic in convertValidationResultsIntoOrderEvents (#856) * Name and use isOrderUnexpired * Use newFillableAmount * Replace nil with newFillableAmount * Consolidate checks for rewatchOrder * Remove checks that are always true * Move database updates into unexpiration check * Rename to timeStampIsValid and remove unneeded check * typos * time stamp -> timestamp and correct comment * Clarify comment Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * fix typo Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * Remove unused private function * Remove nil check for non-nil argument * Rename function * Re-add comments * Rename to expirationTimeIsValid * Expand comment Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> Co-authored-by: Mason Liang <mason@0x.org> Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * In-Memory Blockwatcher Syncing (#857) * Added simplestack back to Mesh * Use an in-memory stack for blockwatcher syncing * Addressed review feedback from @albrow * Simplified `getSubBlockRanges` in `ethereum/blockwatcher` * Light refactors of the blockwatcher * Addressed review feedback from @z2trillion * Addressed review feedback from @albrow * Revert "Light refactors of the blockwatcher" This reverts commit 63caae9. * Addressed lingering review feedback from @albrow * Fix database is locked error (#873) * Fix database is locked error * Fix typo * fix: Wait for high quality peers to fully respond during ordersync (#874) * Added logs to ordersync * Added more debugging logic * Implemented fix to ordersync * Removed logs and clarified some logic * Addressed offline review feedback from @albrow * Addressed review feedback from @z2trillion and @albrow * fix: Mark an ordersync that yields zero orders unsuccessful (#875) * Fixed an issue with `getOrdersFromPeer` * Addressed review feedback from @albrow * Address the missing order events edge case (#863) * Added test for missing order events edge case * Refactored `handleBlockEvents` in anticipation of the fix * Attempted to fix the missing order events bug * Minor refactors * Got the test to pass * Added another test for the missing block events fix * Cleaned up the orderwatcher tests * Added checks for missing events on startup * Placate the linter * Addressed review feedback from @albrow and @z2trillion * Remove unnecessary `RLock` in `ValidateAndStoreValidOrders` * Fixed a bug with order unexpiry * Added the ability to track the progress of ordersyncing with peers (#877) * Added the ability to track the progress of ordersyncing with peers * Addressed review feedback from @albrow * Check for already stored orders in a single batch (#878) * Check for already stored orders in a single batch * Use new method in orderwatcher * Change return value for GetOrderStatuses to include fillable amount * Implement GetOrderStatuses in SQL; Update log levels * Made `MaxBytesPerSecond` configurable for standalone nodes (#879) * Made `MaxBytesPerSecond` configurable for standalone nodes * Made `MaxBytesPerSecond` configurable for browser nodes * Fixed browser conversion tests for config with `MaxBytesPerSecond` * Bump default of `MAX_BYTES_PER_SECOND` to 5MiB throughout the codebase * Fix outdated comments * Don't log about missing events if 0 blocks have elapsed (#880) * Don't emit STOPPED_WATCHING events for orders that were already stored (#881) * update drone configuration (#876) * Optimize GetOrderStatuses by using getBulk (#883) * Fixed bug in ordersync that caused nodes to use the wrong orderfilter (#882) * Fixed bug in ordersync that caused nodes to use the wrong orderfilter * Added changelog entry * Addressed review feedback from @albrow * Refactored first request generation in ordersync * Fixed backwards compatability issue * Addressed lingering review feedback from @albrow * update deployment with telemetry doc with log opts (#887) Co-authored-by: Oskar Paolini <oskar@paolini.pl> * Fixed issue that crashed Mesh node (#888) * Fixed issue that crashed Mesh node * Addressed review feedback from @albrow * Fixed a regression in `FilteredPaginationSubprotocolV0` * Fixed bug that caused ordersync subprotocols to be selected at random * Remove debugging logic * Addressed review feedback from @albrow * Fix bug when saving ordersync progress (#889) * test: Added more tests for ordersync (#890) * Added a test for orderfilter json encoding * Added ordersync test for nodes with different filters * Added ordersync test for receiving first request from old peer * Fixed ordersync tests with distinct orderfilters * Added another test case * Cleaned up in anticipation of review * Refactored orderfilter tests * Addressed some review feedback from @albrow * Apply suggestions from @albrow Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * Fixed issues caused by suggestions * Fixed naming Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * Removed coordinator support (#895) * Removed coordinator support * Prettified the db syncing docs * Unexported `batchOnchainValidation` * fix: Prevent blockwatcher from missing contract events on startup (#894) * Add existing miniheaders to simplestack during initialization * Added a regression test for `blockwatch.New` * Improved regression test * Update ethereum/blockwatch/block_watcher_test.go Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> * feature: Reject taker addresses that are nonzero and not on the whitelist (#896) * Reject taker addresses that are nonzero and not on the whitelist * Addressed review feedback * Implement GraphQL API (#858) * Create basic GraphQL server; implement stats query * Implement order query * Implement orders query * Remove JSON-RPC API * Fix CI * Change types for some stats fields * Remove references to JSON-RPC API from cut-release script * Add GraphQL configuration options * Update version of GraphiQL * Use server.Shutdown for GraphQL server * Use go-bindata to embed schema from text file * Add graphql config file * Install go-bindata in deps-no-lockfile * Stub out remaining types and resolvers * Switch to using gqlgen * Set up new gqlgen server * Re-implement resolvers * Implement AddOrders * Implement OrderEvents * Implement AddOrders in client * Implement and test Go client GetOrders without options * Add test for more complicated GetOrders call * Remove WIP TypeScript client code * Implement and test Go client GetOrder * Implement and test Go client GetStats * Clean up GraphQL integration tests * Implement basic working client with graphql-codegen * Switch to using apollo client * WIP subscriptions support * Implement and test TypeScript client addOrdersAsync * Implement and test TypeScript client getOrderAsync * Implement and test TypeScript client onOrderEvents * Remove ad hoc subscription test code * Fix linter errors * Implement and test TypeScript client getOrdersAsync * Fix build error * Remove old code related to typescript tests * Implement and test TypeScript client rawQueryAsync * Change env vars used for GraphQL integration tests * Basic cleanup; remove old code and deps * Cleanup types and file structure for TypeScript client * Re-enable browser integration tests * Add missing TSDoc comments * Tweak environment variables. * Remove old Go examples * Add comment about mesh-bridge * Update Dockerfiles * Update documentation and comments * Remove lingering references to coordinator error codes * Improve error handling for TypeScript client subscriptions * Address review feedback * Fix failing TypeScript GraphQL client tests * Update links in db_syncing.md * Address PR feedback * Throw all GraphQL errors in TypeScript client * Use strings instead of custom scalars in GraphQL schema when possible (#906) * Use strings instead of custom scalars in GraphQL schema when possible * Add additional documentation to GraphQL schema * Fix TypeScript GraphQL client * Upgrade to go 1.15 (#911) * Persistent DHT and Peerstore (#907) * Implemented persistent datastore for peer and dht information in golang * Implemented persistent key value store for the browser environment * Finished the persistent storage solution * Fixed all outstanding discrepancies between the dexie ds implementation and the tests * Finalized new key store implementation * Addressed issues uncovered during a personal review * Addressed review feedback from @recmo * Changed comment to prompt `ci/circleci:build` * Added context as a parameter in `ethereum/blockwatch.Client` (#862) * Added context to `ethereum/blockwatch.Client` * Started changing approach * Enable more linters (#861) * Enable all default linters and fixed all errors * Enable two more linters * Added linter for `gofmt` * Enables the `unparam` linter * Added `make check` * Fixed `deadcode` errors after rebase * Fixed `misspell` errors after rebase * Fixed `ineffassign` errors after rebase * Fixed `unparam` errors after rebase * Fixed `gosimple` errors after rebase * Fixed `staticcheck` errors after rebase * Addressed review feedback from @recmo * Bump acorn from 6.3.0 to 6.4.1 in /packages/webpack-example-lite (#769) Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@6.3.0...6.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updated some out of date references to Go 1.14 (#912) * Bump jquery from 3.4.1 to 3.5.0 in /packages/browser-lite (#915) Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Commits](jquery/jquery@3.4.1...3.5.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added missing entries to the changelog (#922) * Updates yarn.lock files and adds dependabot configuration (#925) * Remove unused yarn.lock files * Added dependabot config that targets the development branch * Converted dependabot configuration to v2 config * Remove dependabot v1 config * Re-generated yarn.lock file (#926) * Upgraded Dockerfiles to go 1.15.2 (#927) * Update `libp2p` dependencies (#921) * Updated deps * Got standalone nodes to be somewhat functional again * Fixed "TestPeerDiscovery" for standalone nodes * Fixed lingering networking issues * Addressed linter errors * Updated "go-libp2p" to fix the filters option * Improved consistency of external APIs (#918) * GetOrders => FindOrders * Added graphql endpoints to MeshWrapper type in Typescript * Expose dummy endpoints on the Go side of MeshWrapper * Added testing for the browser GraphQL API * Squashed some bugs throughout the plumbing pipeline * DRYed a few things up * Fixed the browser graphql integration test * Cleaned up a bit * Add missing "secondaryRendezvous" to GraphQL schema * Addressed outstanding "FIXME" comments * Altered the way that BrowserLink accesses the Mesh wrapper * Updated "cut-release" make target * Fixed compiler error after rebase * Added changelog entry for GraphQL in the browser and fixed style of other v10 entries * Addressed review feedback from @z2trillion * Updated an integration test to be version agnostic (#928) * Updated an integration test to be version agnostic * Made the Typescript integration tests version agnostic * Cut release v10.0.0 Co-authored-by: Alex Browne <stephenalexbrowne@gmail.com> Co-authored-by: Paul Gebheim <pgebheim@users.noreply.github.com> Co-authored-by: z2trillion <z2trillion@users.noreply.github.com> Co-authored-by: Mason Liang <mason@0x.org> Co-authored-by: Oskar Paolini <oskar@paolini.pl> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This PR upgrades Mesh to Go version 1.14. All of the Go forks were updated, and their branches have been documented within the
go.mod
file.Fixes #726.