Skip to content

Commit

Permalink
Upgrading ABICache
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Jul 28, 2023
1 parent e85eb57 commit b317085
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"wharf-generate": "./scripts/codegen-cli.js"
},
"dependencies": {
"@wharfkit/abicache": "^1.0.1-beta1",
"@wharfkit/abicache": "^1.0.1-beta2",
"@wharfkit/antelope": "^0.7.3",
"eosio-signing-request": "^3.0.0-beta1",
"tslib": "^2.1.0"
Expand Down
4 changes: 2 additions & 2 deletions src/contract/table-cursor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ABI, ABIDef, API, APIClient, Serializer} from '@wharfkit/antelope'
import {ABI, ABIDef, API, APIClient, Name, Serializer} from '@wharfkit/antelope'
import {wrapIndexValue} from '../utils'

/** Mashup of valid types for an APIClient call to v1.chain.get_table_rows */
Expand Down Expand Up @@ -62,7 +62,7 @@ export class TableCursor<RowType = any> {
if (args.maxRows) {
this.maxRows = args.maxRows
}
const table = this.abi.tables.find((t) => t.name === String(this.params.table))
const table = this.abi.tables.find((t) => Name.from(t.name).equals(this.params.table))
if (!table) {
throw new Error('Table not found')
}
Expand Down
17 changes: 17 additions & 0 deletions test/data/requests/2a1ce300eff8451d45f33f2c4d40bb35990f1868.json

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions test/data/requests/3de7f859450540bb5aa2948cf30b14815e73623e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"request": {
"path": "https://jungle4.greymass.com/v1/chain/get_raw_abi",
"params": {
"method": "POST",
"body": "{\"account_name\":\"eosio.token\"}"
}
},
"status": 200,
"json": {
"account_name": "eosio.token",
"code_hash": "33109b3dd5d354cab5a425c1d4c404c4db056717215f1a8b7ba036a6692811df",
"abi_hash": "d84356074da34a976528321472d73ac919227b9b01d9de59d8ade6d96440455c",
"abi": "DmVvc2lvOjphYmkvMS4yAAgHYWNjb3VudAABB2JhbGFuY2UFYXNzZXQFY2xvc2UAAgVvd25lcgRuYW1lBnN5bWJvbAZzeW1ib2wGY3JlYXRlAAIGaXNzdWVyBG5hbWUObWF4aW11bV9zdXBwbHkFYXNzZXQOY3VycmVuY3lfc3RhdHMAAwZzdXBwbHkFYXNzZXQKbWF4X3N1cHBseQVhc3NldAZpc3N1ZXIEbmFtZQVpc3N1ZQADAnRvBG5hbWUIcXVhbnRpdHkFYXNzZXQEbWVtbwZzdHJpbmcEb3BlbgADBW93bmVyBG5hbWUGc3ltYm9sBnN5bWJvbAlyYW1fcGF5ZXIEbmFtZQZyZXRpcmUAAghxdWFudGl0eQVhc3NldARtZW1vBnN0cmluZwh0cmFuc2ZlcgAEBGZyb20EbmFtZQJ0bwRuYW1lCHF1YW50aXR5BWFzc2V0BG1lbW8Gc3RyaW5nBgAAAAAAhWlEBWNsb3NlAAAAAACobNRFBmNyZWF0ZQAAAAAAAKUxdgVpc3N1ZQAAAAAAADBVpQRvcGVuAAAAAACo67K6BnJldGlyZQAAAABXLTzNzQh0cmFuc2ZlcgACAAAAOE9NETIDaTY0AAAHYWNjb3VudAAAAAAAkE3GA2k2NAAADmN1cnJlbmN5X3N0YXRzAAAAAA==="
},
"text": "{\"account_name\":\"eosio.token\",\"code_hash\":\"33109b3dd5d354cab5a425c1d4c404c4db056717215f1a8b7ba036a6692811df\",\"abi_hash\":\"d84356074da34a976528321472d73ac919227b9b01d9de59d8ade6d96440455c\",\"abi\":\"DmVvc2lvOjphYmkvMS4yAAgHYWNjb3VudAABB2JhbGFuY2UFYXNzZXQFY2xvc2UAAgVvd25lcgRuYW1lBnN5bWJvbAZzeW1ib2wGY3JlYXRlAAIGaXNzdWVyBG5hbWUObWF4aW11bV9zdXBwbHkFYXNzZXQOY3VycmVuY3lfc3RhdHMAAwZzdXBwbHkFYXNzZXQKbWF4X3N1cHBseQVhc3NldAZpc3N1ZXIEbmFtZQVpc3N1ZQADAnRvBG5hbWUIcXVhbnRpdHkFYXNzZXQEbWVtbwZzdHJpbmcEb3BlbgADBW93bmVyBG5hbWUGc3ltYm9sBnN5bWJvbAlyYW1fcGF5ZXIEbmFtZQZyZXRpcmUAAghxdWFudGl0eQVhc3NldARtZW1vBnN0cmluZwh0cmFuc2ZlcgAEBGZyb20EbmFtZQJ0bwRuYW1lCHF1YW50aXR5BWFzc2V0BG1lbW8Gc3RyaW5nBgAAAAAAhWlEBWNsb3NlAAAAAACobNRFBmNyZWF0ZQAAAAAAAKUxdgVpc3N1ZQAAAAAAADBVpQRvcGVuAAAAAACo67K6BnJldGlyZQAAAABXLTzNzQh0cmFuc2ZlcgACAAAAOE9NETIDaTY0AAAHYWNjb3VudAAAAAAAkE3GA2k2NAAADmN1cnJlbmN5X3N0YXRzAAAAAA===\"}"
}
17 changes: 17 additions & 0 deletions test/data/requests/a5bbbbfb56ee2ba9b51628f25d21c65d9943d40b.json

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions test/data/requests/db962dd9caf48549fda5158195f437e02445ade2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"request": {
"path": "https://eos.greymass.com/v1/chain/get_raw_abi",
"params": {
"method": "POST",
"body": "{\"account_name\":\"eosio.token\"}"
}
},
"status": 200,
"json": {
"account_name": "eosio.token",
"code_hash": "f6a2939074d69fc194d4b7b5a4d2c24e2766046ddeaa58b63ddfd579a0193623",
"abi_hash": "85fd4e647e88e595223e69d09a3368a14a45d29320ed1515f54fdfac6ca999df",
"abi": "DmVvc2lvOjphYmkvMS4xAAgHYWNjb3VudAABB2JhbGFuY2UFYXNzZXQFY2xvc2UAAgVvd25lcgRuYW1lBnN5bWJvbAZzeW1ib2wGY3JlYXRlAAIGaXNzdWVyBG5hbWUObWF4aW11bV9zdXBwbHkFYXNzZXQOY3VycmVuY3lfc3RhdHMAAwZzdXBwbHkFYXNzZXQKbWF4X3N1cHBseQVhc3NldAZpc3N1ZXI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FjaGVkIHRvIHRoZSB0cmFuc2ZlciBzdGF0aW5nOgp7e21lbW99fQp7ey9pZn19CgpJZiB7e2Zyb219fSBpcyBub3QgYWxyZWFkeSB0aGUgUkFNIHBheWVyIG9mIHRoZWlyIHt7YXNzZXRfdG9fc3ltYm9sX2NvZGUgcXVhbnRpdHl9fSB0b2tlbiBiYWxhbmNlLCB7e2Zyb219fSB3aWxsIGJlIGRlc2lnbmF0ZWQgYXMgc3VjaC4gQXMgYSByZXN1bHQsIFJBTSB3aWxsIGJlIGRlZHVjdGVkIGZyb20ge3tmcm9tfX3igJlzIHJlc291cmNlcyB0byByZWZ1bmQgdGhlIG9yaWdpbmFsIFJBTSBwYXllci4KCklmIHt7dG99fSBkb2VzIG5vdCBoYXZlIGEgYmFsYW5jZSBmb3Ige3thc3NldF90b19zeW1ib2xfY29kZSBxdWFudGl0eX19LCB7e2Zyb219fSB3aWxsIGJlIGRlc2lnbmF0ZWQgYXMgdGhlIFJBTSBwYXllciBvZiB0aGUge3thc3NldF90b19zeW1ib2xfY29kZSBxdWFudGl0eX19IHRva2VuIGJhbGFuY2UgZm9yIHt7dG99fS4gQXMgYSByZXN1bHQsIFJBTSB3aWxsIGJlIGRlZHVjdGVkIGZyb20ge3tmcm9tfX3igJlzIHJlc291cmNlcyB0byBjcmVhdGUgdGhlIG5lY2Vzc2FyeSByZWNvcmRzLgIAAAA4T00RMgNpNjQAAAdhY2NvdW50AAAAAACQTcYDaTY0AAAOY3VycmVuY3lfc3RhdHMAAAAA="
},
"text": "{\"account_name\":\"eosio.token\",\"code_hash\":\"f6a2939074d69fc194d4b7b5a4d2c24e2766046ddeaa58b63ddfd579a0193623\",\"abi_hash\":\"85fd4e647e88e595223e69d09a3368a14a45d29320ed1515f54fdfac6ca999df\",\"abi\":\"DmVvc2lvOjphYmkvMS4xAAgHYWNjb3VudAABB2JhbGFuY2UFYXNzZXQFY2xvc2UAAgVvd25lcgRuYW1lBnN5bWJvbAZzeW1ib2wGY3JlYXRlA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xZGQKLS0tCgp7e2Zyb219fSBhZ3JlZXMgdG8gc2VuZCB7e3F1YW50aXR5fX0gdG8ge3t0b319LgoKe3sjaWYgbWVtb319VGhlcmUgaXMgYSBtZW1vIGF0dGFjaGVkIHRvIHRoZSB0cmFuc2ZlciBzdGF0aW5nOgp7e21lbW99fQp7ey9pZn19CgpJZiB7e2Zyb219fSBpcyBub3QgYWxyZWFkeSB0aGUgUkFNIHBheWVyIG9mIHRoZWlyIHt7YXNzZXRfdG9fc3ltYm9sX2NvZGUgcXVhbnRpdHl9fSB0b2tlbiBiYWxhbmNlLCB7e2Zyb219fSB3aWxsIGJlIGRlc2lnbmF0ZWQgYXMgc3VjaC4gQXMgYSByZXN1bHQsIFJBTSB3aWxsIGJlIGRlZHVjdGVkIGZyb20ge3tmcm9tfX3igJlzIHJlc291cmNlcyB0byByZWZ1bmQgdGhlIG9yaWdpbmFsIFJBTSBwYXllci4KCklmIHt7dG99fSBkb2VzIG5vdCBoYXZlIGEgYmFsYW5jZSBmb3Ige3thc3NldF90b19zeW1ib2xfY29kZSBxdWFudGl0eX19LCB7e2Zyb219fSB3aWxsIGJlIGRlc2lnbmF0ZWQgYXMgdGhlIFJBTSBwYXllciBvZiB0aGUge3thc3NldF90b19zeW1ib2xfY29kZSBxdWFudGl0eX19IHRva2VuIGJhbGFuY2UgZm9yIHt7dG99fS4gQXMgYSByZXN1bHQsIFJBTSB3aWxsIGJlIGRlZHVjdGVkIGZyb20ge3tmcm9tfX3igJlzIHJlc291cmNlcyB0byBjcmVhdGUgdGhlIG5lY2Vzc2FyeSByZWNvcmRzLgIAAAA4T00RMgNpNjQAAAdhY2NvdW50AAAAAACQTcYDaTY0AAAOY3VycmVuY3lfc3RhdHMAAAAA=\"}"
}
17 changes: 17 additions & 0 deletions test/data/requests/df946ade085c222ac1b0de49ad8928b6fd4675c9.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1311,10 +1311,10 @@
"@typescript-eslint/types" "5.41.0"
eslint-visitor-keys "^3.3.0"

"@wharfkit/abicache@^1.0.1-beta1":
version "1.0.1-beta1"
resolved "https://registry.yarnpkg.com/@wharfkit/abicache/-/abicache-1.0.1-beta1.tgz#3cf687c0d6f282eb0d7486b206e18b6314b6f299"
integrity sha512-uNFzyn4/bxgmCcZgXRbaHisygChFIQDEknfroe6EmVCJjfnowbBlHPTD0PS2YUBD1yFE7XEeCbAESYjEtT/5xQ==
"@wharfkit/abicache@^1.0.1-beta2":
version "1.0.1-beta2"
resolved "https://registry.yarnpkg.com/@wharfkit/abicache/-/abicache-1.0.1-beta2.tgz#e36d87484719a6afb34111de6a198ebaa79dfc99"
integrity sha512-vjcUUCQXfamGoUWHAfCvbEEBb5M80LuugxR6tYUk5nYJQ1L8oBZonSDl/q4iUEBD4CfMzUEU/vtVLQonfhEcDw==
dependencies:
"@wharfkit/antelope" "^0.7.3"
eosio-signing-request "^3.0.0-beta1"
Expand Down

0 comments on commit b317085

Please sign in to comment.