Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #3502

Merged
merged 190 commits into from
Feb 15, 2024
Merged

Develop #3502

Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
61c7f9b
Fixes an issue with uniswap pricing
tjayrush Dec 2, 2023
1ada881
Merge pull request #3435 from TrueBlocks/fix/uniswap-core
tjayrush Dec 2, 2023
7c0e178
Various small cleanups to make the next steps easier
tjayrush Dec 4, 2023
84ecfaa
Adds withCount option to ReadAndFilterApps as first step in solution
tjayrush Dec 4, 2023
df345f9
The solution. All that remains is to make the number of items in each…
tjayrush Dec 4, 2023
8bbf404
Removes nApps from AsSliceOfMaps. Hard codes in identifier pkg
tjayrush Dec 4, 2023
95ed7f7
Merge pull request #3441 from TrueBlocks/fix/max_records-2
tjayrush Dec 5, 2023
a82cdb1
Improves testing for chifra export --relevant
tjayrush Dec 5, 2023
398f1b8
Changes the order of options in the help file only. No code changes
tjayrush Dec 5, 2023
110c648
Catches up tests
tjayrush Dec 5, 2023
80013ed
Adds --topic and --emitter to chifra logs but does not implement
tjayrush Dec 5, 2023
1d98114
Catches up tests
tjayrush Dec 5, 2023
bc08af6
Implements chifra logs --emitter --topic
tjayrush Dec 5, 2023
bea3cf7
Fixes the issue with chifra export --topic
tjayrush Dec 5, 2023
979d49e
Merge pull request #3442 from TrueBlocks/fix/export-filtering
tjayrush Dec 5, 2023
82eb58f
Fixes the issue
tjayrush Dec 5, 2023
ab21d42
Fixing tests
tjayrush Dec 6, 2023
41ce751
Fixes fix of fixing tests
tjayrush Dec 6, 2023
05e1da0
Merge pull request #3443 from TrueBlocks/3430-chifra-blocks-cache-tra…
tjayrush Dec 6, 2023
89ace45
Adds --proxy_for to chifra abis but does not implement it
tjayrush Dec 6, 2023
036cf00
Implements the solution
tjayrush Dec 6, 2023
a3e63c0
Fixes lint
tjayrush Dec 6, 2023
d3b6674
Merge pull request #3445 from TrueBlocks/2711-chifra-abis-proxy-for
tjayrush Dec 6, 2023
4ca6609
Adds but does not implement chifr slurp --articulate
tjayrush Dec 6, 2023
8725f45
Attempt at adding articulation to slurp, commented out.
tjayrush Dec 6, 2023
c495c3a
Merge pull request #3446 from TrueBlocks/3423-slurp-articulate
tjayrush Dec 6, 2023
6428b26
Implements articulation for chifra slurp
tjayrush Dec 6, 2023
597a7e4
CHANGES.md
tjayrush Dec 6, 2023
beb87f1
Fixing tests
tjayrush Dec 6, 2023
2935385
Fixes the issue
tjayrush Dec 6, 2023
c19409d
Merge pull request #3447 from TrueBlocks/fix/ethslurp-articulate
tjayrush Dec 6, 2023
ae4ddce
Merge branch 'develop' into 3224-separate-abis
tjayrush Dec 6, 2023
a629b4f
Merge pull request #3448 from TrueBlocks/3224-separate-abis
tjayrush Dec 6, 2023
89036da
Fixes the problem
tjayrush Dec 6, 2023
42480ee
Merge pull request #3450 from TrueBlocks/3414-notify-do-not-die
tjayrush Dec 6, 2023
f432e85
v2.5.0
tjayrush Dec 8, 2023
c991873
v2.5.1
tjayrush Dec 8, 2023
467a20e
Adds chains to the status output so typescript SDK works
tjayrush Dec 8, 2023
30dc8f9
Renames GetStatementsFromTransactions to GetStatements
tjayrush Dec 8, 2023
934453b
Renames GetStatements variants, remove GetStatementsFromApps, return …
tjayrush Dec 8, 2023
4498bee
Merge pull request #3451 from TrueBlocks/fix/status-shows-chains
tjayrush Dec 8, 2023
4a1673f
Merge branch 'develop' into fix/accounting-1
tjayrush Dec 8, 2023
6974665
Makes LedgerContext (soon to be renamed) private to the package
tjayrush Dec 8, 2023
b577490
Cleanup including use of enum type instead of string for reconType
tjayrush Dec 8, 2023
51ca8e4
Merge pull request #3452 from TrueBlocks/fix/accounting-1
tjayrush Dec 8, 2023
685bbb4
Improved testing on Ledger contexts and added reversed (but isn't used)
tjayrush Dec 9, 2023
bff78d4
Cleaning
tjayrush Dec 9, 2023
0a2cd72
Cleaning
tjayrush Dec 9, 2023
b0523fe
User pointers for ledgerContexts to avoid so much copying
tjayrush Dec 9, 2023
89a7023
Cleaning to make similar functions easier to find
tjayrush Dec 10, 2023
9ce409b
Fixes tests
tjayrush Dec 10, 2023
3e2a3f3
Fixes tests
tjayrush Dec 10, 2023
f512777
Merge pull request #3453 from TrueBlocks/fix/accounting-2
tjayrush Dec 10, 2023
11ebeec
Improved logging for chifra slurp
tjayrush Dec 10, 2023
648b0b9
Updates some chifra slurp related stuff
tjayrush Dec 11, 2023
cb48a8f
v2.5.2
tjayrush Dec 11, 2023
03d4641
v2.5.3
tjayrush Dec 11, 2023
610fe63
v2.5.4
tjayrush Dec 12, 2023
8862c27
v2.5.5
tjayrush Dec 12, 2023
a2a5ed1
Fixes explorer
tjayrush Dec 12, 2023
be21266
Fixes potential core dumps in chifra transactions --uniq
tjayrush Dec 13, 2023
ff121c0
Merge pull request #3454 from TrueBlocks/fix/improved-slurp
tjayrush Dec 13, 2023
66c7af9
Merge branch 'develop' into fix/accounting-3
tjayrush Dec 13, 2023
27b840d
Cleaning
tjayrush Dec 13, 2023
509910f
Abstracts out getStatementsFromReceipt
tjayrush Dec 13, 2023
296a989
Partial lint of docs
tjayrush Dec 14, 2023
8770f95
Cleaning
tjayrush Dec 14, 2023
244d10f
Merge pull request #3456 from TrueBlocks/fix/accounting-3
tjayrush Dec 14, 2023
31a524d
Making certain functions in pricing package private
tjayrush Dec 15, 2023
b04b17b
Moves some code to the types package
tjayrush Dec 15, 2023
b70af15
Removes AsSliceOfMaps from indentifiers package
tjayrush Dec 15, 2023
a88da0b
Cleaning
tjayrush Dec 15, 2023
3266d78
Makes AsSliceOfMaps consistent based on SimpleAppearances
tjayrush Dec 15, 2023
90078ab
Making AsSliceOfMaps consistent
tjayrush Dec 15, 2023
12792de
Further work on reconciliation
tjayrush Dec 15, 2023
5cae8e6
Further work on reconciliation
tjayrush Dec 15, 2023
bd72541
Further updating of reconciliations
tjayrush Dec 16, 2023
7b6acc2
Fixes tests
tjayrush Dec 16, 2023
afdc847
Separates out calculated fields from rawOnly
tjayrush Dec 16, 2023
67d1319
Trying to get control of reconciliations
tjayrush Dec 16, 2023
3fa0f7b
Trying to get control of reconciliations
tjayrush Dec 17, 2023
7411128
Fixes a small bug in reconciliations related to delegratecall
tjayrush Dec 17, 2023
25f392e
Fixing tests
tjayrush Dec 18, 2023
3ff46f1
Fixing tests
tjayrush Dec 18, 2023
1cc7ecb
Merge pull request #3459 from TrueBlocks/fix/accounting-4
tjayrush Dec 18, 2023
cadce8a
Fixing a few more tests
tjayrush Dec 18, 2023
dcd510d
Updating
tjayrush Dec 18, 2023
914ba4d
Fixing tests
tjayrush Dec 18, 2023
2a81833
Fixes tests
tjayrush Dec 18, 2023
d3f2f02
Fixes redir files
tjayrush Dec 18, 2023
8fae0c7
Trying to catch it
tjayrush Dec 18, 2023
42ff84e
Transacitons
tjayrush Dec 18, 2023
bc9543c
Update but broken
tjayrush Dec 19, 2023
6ce9997
Removes --account_for from chifra transactions - it was unsupportable…
tjayrush Dec 19, 2023
94a20a8
Fixes tests
tjayrush Dec 19, 2023
9cdf49e
Fixing
tjayrush Dec 20, 2023
840998f
Adds curl debugging throughout
tjayrush Dec 20, 2023
b90689d
Merge pull request #3465 from TrueBlocks/3463-chifra-cmd-make-debuggi…
tjayrush Dec 20, 2023
17ca8ca
Merge branch 'develop' into fix/accounting-5
tjayrush Dec 21, 2023
53348c2
Fixes chifra init --all download problem by removing check for conten…
tjayrush Dec 21, 2023
edb018b
fix typos
omahs Jan 3, 2024
a2c4569
fix typos
omahs Jan 3, 2024
775aac7
fix typos
omahs Jan 3, 2024
6df76dd
fix typos
omahs Jan 3, 2024
7a1c9a5
fix typos
omahs Jan 3, 2024
eb969ef
Small fixes to clean up
tjayrush Jan 5, 2024
65825b0
Merge pull request #3461 from TrueBlocks/fix/accounting-5
tjayrush Jan 5, 2024
bb7b0bf
Moves monitor freshening to monitor package
tjayrush Jan 5, 2024
c8ec4bc
Adds an optional Baddress to types of names to include hard coded names
tjayrush Jan 6, 2024
d0689b2
Merge pull request #3470 from TrueBlocks/feature/monitor-update-to-pkg
tjayrush Jan 7, 2024
3cf5cee
Merge branch 'patch-4' of github.com:omahs/trueblocks-core into omahs…
tjayrush Jan 7, 2024
4aed7a8
Completes the job updating READMEs and testing
tjayrush Jan 7, 2024
0b6efd3
Merge pull request #3471 from TrueBlocks/omahs-patch-4
tjayrush Jan 7, 2024
9f47ad1
Adds function for GetEnsName
tjayrush Jan 16, 2024
3ff2c34
Updates README
tjayrush Jan 16, 2024
80a9ea7
Added ChunkWritten notification type
dszlachta Jan 16, 2024
db235f5
Merge pull request #3473 from TrueBlocks/feature/notify_validate
tjayrush Jan 16, 2024
91cd476
Fixing tests
tjayrush Jan 17, 2024
15a41c7
Fixing tests
tjayrush Jan 17, 2024
8701022
Fixing tests
tjayrush Jan 17, 2024
2b5b03e
Merge pull request #3474 from TrueBlocks/fix/accounting-5
tjayrush Jan 17, 2024
a6e4d5c
Bump vite from 4.5.1 to 4.5.2 in /sdk/typescript
dependabot[bot] Jan 20, 2024
017c081
Fixed TrueBlocks/trueblocks-key#63
dszlachta Jan 24, 2024
531528e
Fixed TrueBlocks/trueblocks-key#64
dszlachta Jan 25, 2024
decf9be
Delegated CID generation to IPFS daemon
dszlachta Jan 25, 2024
91b809f
Added check for IPFS if Notify is configured
dszlachta Jan 25, 2024
d1c6073
Fixes problem with docs
tjayrush Jan 30, 2024
6c86843
Reverts broken docs
tjayrush Jan 30, 2024
82711f9
Merge pull request #3483 from TrueBlocks/fix/documents
tjayrush Jan 30, 2024
e3566f7
Code review fixes
dszlachta Feb 2, 2024
0cfb86c
Improving code gen
tjayrush Feb 2, 2024
de51628
Merge pull request #3481 from TrueBlocks/bugfix/notify
tjayrush Feb 2, 2024
d5b9537
Changes previously unused --source to --seed (still unused) for chifr…
tjayrush Feb 2, 2024
edc608c
Changes --source to --seed for chifra transactions.
tjayrush Feb 2, 2024
86976a6
Merge pull request #3478 from TrueBlocks/dependabot/npm_and_yarn/sdk/…
tjayrush Feb 2, 2024
4666beb
Merge pull request #3486 from TrueBlocks/fix/better-autocode-gen
tjayrush Feb 2, 2024
c501316
Merge branch 'master' into develop
tjayrush Feb 2, 2024
dd0d0d7
Changes hotkey for previously unused chifra transactions source to S
tjayrush Feb 5, 2024
985a456
Merge pull request #3492 from TrueBlocks/fix/change-transaction-hotkey
tjayrush Feb 5, 2024
aff6186
Cleans up a few command line descriptions
tjayrush Feb 5, 2024
ed6ea98
Merge pull request #3493 from TrueBlocks/fix/cleanup-command-lines
tjayrush Feb 5, 2024
bb41c9c
Cleaning up curl debugging 1
tjayrush Feb 5, 2024
ec6f2dc
Cleaning up curl debugging
tjayrush Feb 5, 2024
16d57af
Removes QuerySlice and uses Query instead.
tjayrush Feb 5, 2024
5248bae
Adds test cases to ethslurp
tjayrush Feb 5, 2024
39beb2f
Updating slurp source
tjayrush Feb 6, 2024
ab733c3
Catching up
tjayrush Feb 6, 2024
238af7a
Merge pull request #3495 from TrueBlocks/feature/slurp-source
tjayrush Feb 6, 2024
190e980
Fixed: empty Notify endpoint causes panic
dszlachta Feb 5, 2024
fee24d8
Merge pull request #3496 from TrueBlocks/bugfix/notify_url
tjayrush Feb 6, 2024
1452273
Separates out slurp key from slurp etherscan
tjayrush Feb 8, 2024
b6fde62
Adds (currently broken) testing
tjayrush Feb 8, 2024
30a8ba7
Use ApiKey not Jwt for Key's api key.
tjayrush Feb 8, 2024
665eafa
Cleanup the isInRange function
tjayrush Feb 8, 2024
1d2a1ac
Small cleanups to make actual use of header possible in next PR
tjayrush Feb 8, 2024
8f1bdc6
Uses headers in QueryWithHeaders
tjayrush Feb 8, 2024
4f314b2
Small change to export of monitors to enable chifra slurp --count
tjayrush Feb 8, 2024
b91b2ef
Implements chifra slurp --source key (for data and --count)
tjayrush Feb 8, 2024
aaf2f59
Merge pull request #3498 from TrueBlocks/feature/slurp-source-4
tjayrush Feb 8, 2024
63fa770
Fixes incorrect use of perPage for chifra slurp --source
tjayrush Feb 9, 2024
c385b86
Small change from transactionId to transactionIndex in some docs
tjayrush Feb 9, 2024
5909cb0
Fixes chifra slurp
tjayrush Feb 9, 2024
5dc5078
Cleaning
tjayrush Feb 9, 2024
1f3f679
Fixing pagination for chifra slurp
tjayrush Feb 9, 2024
42f9d81
Make default page zero for non-etherscan source
tjayrush Feb 9, 2024
9bd1744
Removes the use of TransactionId throughtout. Replaces with Transacti…
tjayrush Feb 9, 2024
1f06789
Uses a .markdownlint.yaml file Removes internal to file lint control
tjayrush Feb 10, 2024
dd22ffd
Uses a .markdownlint.yaml file Removes internal to file lint control
tjayrush Feb 10, 2024
d4bb8b7
Merge pull request #3500 from TrueBlocks/feature/slurp-source-5
tjayrush Feb 10, 2024
5bdc158
Bumps version to v2.5.2-release
tjayrush Feb 10, 2024
3ae93af
Fixes chifra slurp for future use
tjayrush Feb 10, 2024
f8a7d3c
Implements chifra slurp --source --count using key count endpoint - s…
tjayrush Feb 12, 2024
3ff12a6
Merge pull request #3503 from TrueBlocks/fix/slurp-source-6
tjayrush Feb 12, 2024
b605745
Fixed 0 being always reported as chunk range
dszlachta Feb 12, 2024
edd24f1
Merge pull request #3504 from TrueBlocks/bugfix/notify_chunk_written
tjayrush Feb 12, 2024
fd3bfa6
Fixes blooom
tjayrush Feb 13, 2024
f3587d9
Merge pull request #3506 from TrueBlocks/3482-blooom
tjayrush Feb 13, 2024
c4659b9
Updates to go lang version 1.22
tjayrush Feb 13, 2024
aa71c94
Removes item = item inside loop due to pre go 1.22 need to do so.
tjayrush Feb 13, 2024
29447f5
Updates to go lang version 1.22
tjayrush Feb 13, 2024
48aff84
Merge pull request #3507 from TrueBlocks/3482-blooom
tjayrush Feb 13, 2024
ada6feb
Removes temporary code to transactionId
tjayrush Feb 14, 2024
ce9429a
Adds page option to chifra slurp
tjayrush Feb 14, 2024
aaff264
Adds --page option to chifra slurp
tjayrush Feb 14, 2024
5c6b33d
Merge pull request #3508 from TrueBlocks/fix/transaction-id-not
tjayrush Feb 14, 2024
6a004ac
Merge pull request #3509 from TrueBlocks/feature/slurp-page-option
tjayrush Feb 14, 2024
d788abe
Makes changing GoLang version easier
tjayrush Feb 15, 2024
d04932f
Hides --page and --per_page from chifra slurp
tjayrush Feb 15, 2024
999b520
We're done
tjayrush Feb 15, 2024
d1a3947
Merge pull request #3511 from TrueBlocks/fix/final-before-merge
tjayrush Feb 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/content/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3491,6 +3491,11 @@ components:
version:
type: string
description: "the TrueBlocks version string"
chains:
type: array
items:
$ref: "#/components/schemas/chain"
description: "a list of available chains in the config file"
manifest:
description: "a JSON object containing records for each bloom filter and index chunk in the Unchained Index"
type: object
Expand Down
1 change: 1 addition & 0 deletions docs/content/data-model/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Statuses consist of the following fields:
| rootConfig | the path to the root configuration folder | string |
| rpcProvider | the current rpcProvider | string |
| version | the TrueBlocks version string | string |
| chains | a list of available chains in the config file | [Chain[]](/data-model/admin/#chain) |

## Manifest

Expand Down
5 changes: 5 additions & 0 deletions docs/templates/api/components.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,11 @@ components:
version:
type: string
description: "the TrueBlocks version string"
chains:
type: array
items:
$ref: "#/components/schemas/chain"
description: "a list of available chains in the config file"
manifest:
description: "a JSON object containing records for each bloom filter and index chunk in the Unchained Index"
type: object
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trueblocks-sdk",
"version": "2.1.0",
"version": "2.5.1",
"license": "GPL-3.0-or-later",
"description": "Use the TrueBlocks chifra interface in your apps",
"main": "dist/index.js",
Expand Down
3 changes: 2 additions & 1 deletion sdk/typescript/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file was generated with makeClass --sdk. Do not edit it.
*/
import { CacheItem } from '.';
import { CacheItem, Chain } from '.';

export type Config = {
cachePath?: string
Expand All @@ -24,4 +24,5 @@ export type Config = {
rootConfig?: string
rpcProvider?: string
version?: string
chains?: Chain[]
}
3 changes: 2 additions & 1 deletion src/apps/chifra/internal/status/types_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

type CCacheItemArray []simpleCacheItem

type CChainArray []types.SimpleChain
// EXISTING_CODE

type simpleStatus struct {
Expand All @@ -38,6 +38,7 @@ type simpleStatus struct {
Chain string `json:"chain,omitempty"`
ChainConfig string `json:"chainConfig,omitempty"`
ChainId string `json:"chainId,omitempty"`
Chains CChainArray `json:"chains,omitempty"`
ClientVersion string `json:"clientVersion,omitempty"`
HasEsKey bool `json:"hasEsKey,omitempty"`
HasPinKey bool `json:"hasPinKey,omitempty"`
Expand Down
6 changes: 3 additions & 3 deletions src/apps/chifra/pkg/ledger/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ const maxTestingBlock = 17000000
func (l *Ledger) SetContexts(chain string, apps []types.SimpleAppearance, outerBounds base.BlockRange) error {
for i := 0; i < len(apps); i++ {
cur := apps[i].BlockNumber
if cur > maxTestingBlock {
continue
}
// if cur > maxTestingBlock {
// continue
// }

prev := outerBounds.First
if i > 0 {
Expand Down
1 change: 1 addition & 0 deletions src/other/data-models/classDefinitions/fields/status.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ progress ,string , ,true , 15 ,the progress string of t
rootConfig ,string , ,true , 16 ,the path to the root configuration folder
rpcProvider ,string , ,true , 17 ,the current rpcProvider
version ,string , ,true , 18 ,the TrueBlocks version string
chains ,[]Chain , ,true , 19 ,a list of available chains in the config file