diff --git a/package.json b/package.json index c13132e8..3669c587 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@cosmos-client/core": "^0.47.4", "@cosmos-client/cosmwasm": "^0.40.3", "@cosmos-client/ibc": "^1.2.1", - "@neutron-org/neutronjsplus": "https://github.com/neutron-org/neutronjsplus.git#1571861a509c99a035d0451af3224a193802c2de", + "@neutron-org/neutronjsplus": "https://github.com/neutron-org/neutronjsplus.git#eff816016c258331d489a074db3546aaa542fd04", "@types/lodash": "^4.14.182", "@types/long": "^5.0.0", "axios": "^0.27.2", diff --git a/src/testcases/run_in_band/slinky.test.ts b/src/testcases/run_in_band/slinky.test.ts index e6f2f395..5132b34e 100644 --- a/src/testcases/run_in_band/slinky.test.ts +++ b/src/testcases/run_in_band/slinky.test.ts @@ -18,9 +18,9 @@ import { GetPricesResponse, } from '@neutron-org/neutronjsplus/src/oracle'; import { - GetLastUpdatedResponse, ParamsResponse, - GetMarketMapResponse, + LastUpdatedResponse, + MarketMapResponse, } from '@neutron-org/neutronjsplus/src/marketmap'; const config = require('../../config.json'); @@ -204,20 +204,20 @@ describe('Neutron / Slinky', () => { }); test('query last', async () => { - const res = await neutronChain.queryContract( + const res = await neutronChain.queryContract( contractAddress, { - get_last_updated: {}, + last_updated: {}, }, ); expect(res.last_updated).toBeGreaterThan(0); }); test('query market', async () => { - const res = await neutronChain.queryContract( + const res = await neutronChain.queryContract( contractAddress, { - get_market_map: {}, + market_map: {}, }, ); expect(res.market_map).toBeDefined(); @@ -235,7 +235,9 @@ describe('Neutron / Slinky', () => { ); expect(res).toBeDefined(); expect(res.params.version).toEqual(0); - expect(res.params.market_authorities[0]).toEqual('neutron1hxskfdxpp5hqgtjj6am6nkjefhfzj359x0ar3z'); + expect(res.params.market_authorities[0]).toEqual( + 'neutron1hxskfdxpp5hqgtjj6am6nkjefhfzj359x0ar3z', + ); }); }); }); diff --git a/yarn.lock b/yarn.lock index 43759a9e..ac4fb471 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1568,9 +1568,9 @@ resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-5.50.0.tgz#29c6419e8379d496ab6d0426eadf3c4d100cd186" integrity sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA== -"@neutron-org/neutronjsplus@https://github.com/neutron-org/neutronjsplus.git#1571861a509c99a035d0451af3224a193802c2de": +"@neutron-org/neutronjsplus@https://github.com/neutron-org/neutronjsplus.git#eff816016c258331d489a074db3546aaa542fd04": version "0.4.0-rc19" - resolved "https://github.com/neutron-org/neutronjsplus.git#1571861a509c99a035d0451af3224a193802c2de" + resolved "https://github.com/neutron-org/neutronjsplus.git#eff816016c258331d489a074db3546aaa542fd04" dependencies: "@bufbuild/protobuf" "^1.4.2" "@cosmos-client/core" "^0.47.4"