Skip to content

Commit

Permalink
Merge pull request #74 from terra-money/fix/jax-removal
Browse files Browse the repository at this point in the history
removed all reference to jax
  • Loading branch information
emidev98 authored Jan 16, 2024
2 parents b985d0f + 5273ba5 commit 84d5bb5
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 382 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terra-money/feather.js",
"version": "2.0.0-beta.15",
"version": "2.0.0",
"description": "The JavaScript SDK for Terra and Feather chains",
"license": "MIT",
"author": "Terraform Labs, PTE.",
Expand Down
28 changes: 0 additions & 28 deletions src/core/Msg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ import {
MsgSetBeforeSendHook,
TokenFactoryMsg,
} from './tokenfactory';
import { JAXMsgExecuteContract, JAXMsgStoreCode, JaxMsg } from './jax/msgs';
import { MsgTransfer, IbcTransferMsg } from './ibc/applications/transfer';
import {
MsgCreateClient,
Expand Down Expand Up @@ -142,7 +141,6 @@ export type Msg =
| AllianceMsg
| CustomMsg
| CrisisMsg
| JaxMsg
| MsgAuctionBid
| FeeshareMsg
| TokenFactoryMsg;
Expand All @@ -163,7 +161,6 @@ export namespace Msg {
| AllianceMsg.Amino
| CustomMsg.Amino
| CrisisMsg.Amino
| JaxMsg.Amino
| MsgAuctionBid.Amino
| FeeshareMsg.Amino
| TokenFactoryMsg.Amino;
Expand All @@ -187,7 +184,6 @@ export namespace Msg {
| AllianceMsg.Data
| CustomMsg.Data
| CrisisMsg.Data
| JaxMsg.Data
| MsgAuctionBid.Data
| FeeshareMsg.Data
| TokenFactoryMsg.Data;
Expand All @@ -210,7 +206,6 @@ export namespace Msg {
| IbcChannelMsg.Proto
| AllianceMsg.Proto
| CrisisMsg.Proto
| JaxMsg.Proto
| MsgAuctionBid.Proto
| FeeshareMsg.Proto
| TokenFactoryMsg.Proto;
Expand Down Expand Up @@ -484,17 +479,6 @@ export namespace Msg {
data as MsgVerifyInvariant.Amino,
isClassic
);
// jax
case 'jax/MsgExecuteContract':
return JAXMsgExecuteContract.fromAmino(
data as JAXMsgExecuteContract.Amino,
isClassic
);
case 'jax/MsgStoreCode':
return JAXMsgStoreCode.fromAmino(
data as JAXMsgStoreCode.Amino,
isClassic
);

// Pob module
case 'pob/MsgAuctionBid':
Expand Down Expand Up @@ -707,12 +691,6 @@ export namespace Msg {
case '/cosmos.crisis.v1beta1.MsgVerifyInvariant':
return MsgVerifyInvariant.fromData(data, isClassic);

// jax
case '/jax.MsgExecuteContract':
return JAXMsgExecuteContract.fromData(data, isClassic);
case '/jax.MsgStoreCode':
return JAXMsgStoreCode.fromData(data, isClassic);

// pob module
case '/pob.builder.v1.MsgAuctionBid':
return MsgAuctionBid.fromData(data, isClassic);
Expand Down Expand Up @@ -919,12 +897,6 @@ export namespace Msg {
case '/cosmos.crisis.v1beta1.MsgVerifyInvariant':
return MsgVerifyInvariant.unpackAny(proto, isClassic);

// jax
case '/jax.MsgExecuteContract':
return JAXMsgExecuteContract.unpackAny(proto, isClassic);
case '/jax.MsgStoreCode':
return JAXMsgStoreCode.unpackAny(proto, isClassic);

case '/pob.builder.v1.MsgAuctionBid':
return MsgAuctionBid.unpackAny(proto, isClassic);

Expand Down
4 changes: 0 additions & 4 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ export { MsgRedelegate as MsgAllianceRedelegate } from './alliance/msgs/MsgRedel
export { MsgClaimDelegationRewards as MsgClaimDelegationRewards } from './alliance/msgs/MsgClaimDelegationRewards';
export * from './alliance/proposals';

// JAX
export { MsgExecuteContract as JAXMsgExecuteContract } from './jax/msgs/MsgExecuteContract';
export { MsgStoreCode as JAXMsgStoreCode } from './jax/msgs/MsgStoreCode';

// Auth
export * from './auth/Account';
export * from './auth/BaseAccount';
Expand Down
177 changes: 0 additions & 177 deletions src/core/jax/msgs/MsgExecuteContract.ts

This file was deleted.

Loading

0 comments on commit 84d5bb5

Please sign in to comment.