-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LIVE-14648] Feature - Prevent ERC-1155 calls for Blockscout explorer…
… & authorize node-only sync (#8899) * Add `none` explorer option to sync with only node * Prevent unsupported ERC1155 calls for blockscout * changeset
- Loading branch information
1 parent
6de2466
commit c62cec9
Showing
7 changed files
with
172 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ledgerhq/coin-evm": minor | ||
--- | ||
|
||
Prevent request on blockscout for ERC1155 NFTs as unsupported yet and add a `none` option for explorer's config to allow for node-only synchronization (will make token accounts disappear though) |
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
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,19 @@ | ||
import { ExplorerApi } from "./types"; | ||
|
||
/** | ||
* Returns all operation types from an address | ||
*/ | ||
export const getLastOperations: ExplorerApi["getLastOperations"] = async () => { | ||
return { | ||
lastCoinOperations: [], | ||
lastTokenOperations: [], | ||
lastNftOperations: [], | ||
lastInternalOperations: [], | ||
}; | ||
}; | ||
|
||
const noExplorerAPI: ExplorerApi = { | ||
getLastOperations, | ||
}; | ||
|
||
export default noExplorerAPI; |
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