Skip to content

Commit

Permalink
updates the sdk, and tweaks logic for protocol upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Dec 19, 2023
1 parent a880c3e commit e1c7aa3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"ioredis": "^5.3.2",
"pino": "^8.15.3",
"pino-pretty": "^10.2.0",
"stellar-sdk": "11.0.0-beta.6",
"stellar-sdk": "11.0.1",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/service/mercury/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,9 @@ export class MercuryClient {
try {
const entrySub = {
contract_id: contractId,
max_single_size: 150,
max_single_size: 300,
key_xdr: this.tokenBalanceKey(pubKey),
durability: "persistent",
};

const config = {
Expand Down Expand Up @@ -600,7 +601,6 @@ export class MercuryClient {
} catch (error) {
this.logger.error(error);
const _error = JSON.stringify(error);
this.logger.error(_error);
return {
data: null,
error: _error,
Expand Down
48 changes: 24 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,25 @@
dependencies:
"@sinonjs/commons" "^3.0.0"

"@stellar/js-xdr@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@stellar/js-xdr/-/js-xdr-3.0.1.tgz#d500f1e1332210cd56e0ef95e44c54506d9f48f3"
integrity sha512-dp5Eh7Nr1YjiIeqpdkj2cQYxfoPudDAH3ck8MWggp48Htw66Z/hUssNYUQG/OftLjEmHT90Z/dtey2Y77DOxIw==

"@stellar/[email protected]":
version "10.0.0"
resolved "https://registry.yarnpkg.com/@stellar/stellar-base/-/stellar-base-10.0.0.tgz#b9ef7e84e644d06ec08b8ba88ad6b38da7b80494"
integrity sha512-zHlGzWefiB2gkt13l+I8Dvo2k7+n6+vxizay4lDEc5si0zjSZbCUUzMIdVIQ86dao7+TvZ3aNw8CdncOWLDu2A==
dependencies:
"@stellar/js-xdr" "^3.0.1"
base32.js "^0.1.0"
bignumber.js "^9.1.2"
buffer "^6.0.3"
sha.js "^2.3.6"
tweetnacl "^1.0.3"
optionalDependencies:
sodium-native "^4.0.1"

"@stellar/tsconfig@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@stellar/tsconfig/-/tsconfig-1.0.2.tgz#18e9b1a1d6076e116bb405d11fc034401155292d"
Expand Down Expand Up @@ -2569,11 +2588,6 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

js-xdr@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/js-xdr/-/js-xdr-3.0.0.tgz#fb74275de0ed3cec61269721140a576edf6fca7e"
integrity sha512-tSt6UKJ2L7t+yaQURGkHo9kop9qnVbChTlCu62zNiDbDZQoZb/YjUj2iFJ3lgelhfg9p5bhO2o/QX+g36TPsSQ==

js-yaml@^3.13.1:
version "3.14.1"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
Expand Down Expand Up @@ -3407,30 +3421,16 @@ standard-as-callback@^2.1.0:
resolved "https://registry.yarnpkg.com/standard-as-callback/-/standard-as-callback-2.1.0.tgz#8953fc05359868a77b5b9739a665c5977bb7df45"
integrity sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==

[email protected]:
version "10.0.0-beta.4"
resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-10.0.0-beta.4.tgz#818d3b5dd702a7d18f1db47a72837cec80616716"
integrity sha512-3EXDFHSahVDMTHrHiFOO8kFf5KN+AL4x5kd5rxjElElPG+385cyWDbO83GrNmDGU/u9/XiVL+riJjz5gQTv6RQ==
dependencies:
base32.js "^0.1.0"
bignumber.js "^9.1.2"
buffer "^6.0.3"
js-xdr "^3.0.0"
sha.js "^2.3.6"
tweetnacl "^1.0.3"
optionalDependencies:
sodium-native "^4.0.1"

[email protected]:
version "11.0.0-beta.6"
resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-11.0.0-beta.6.tgz#3db48994fab841f09b31411290fc1ec9accdba38"
integrity sha512-bO1E+xSal+iUFKg9A/CoJylqkOayr58kS/qm6N/BLsKmOaYzWwGTVaRZC0cDI/ZY/bN6uDXGL/H7+W/qbgkmVA==
[email protected]:
version "11.0.1"
resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-11.0.1.tgz#de53748d648e732d0d8a3fdcb292b18e30a217cc"
integrity sha512-uRXK9NcsJNoo7F2P3JQRY9GC9+LFVQQjz9N5nmsLdUDrOT9cM8bb3MoUt9jdY5+nBsrEVnuJTZzLG29GyowBew==
dependencies:
"@stellar/stellar-base" "10.0.0"
axios "^1.6.0"
bignumber.js "^9.1.2"
eventsource "^2.0.2"
randombytes "^2.1.0"
stellar-base "10.0.0-beta.4"
toml "^3.0.0"
urijs "^1.19.1"

Expand Down

0 comments on commit e1c7aa3

Please sign in to comment.