-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(multisig): refacto, force amino signing, disable keplr balance ch…
…eck and prevent modification by signer (#1203) * fix(multisig): refacto and force amino signing Signed-off-by: Norman Meier <[email protected]> * chore: change cosmos endpoints Signed-off-by: Norman Meier <[email protected]> * fix: multisig signer params Signed-off-by: Norman Meier <[email protected]> * fix: error out on multisig tx change Signed-off-by: Norman Meier <[email protected]> * chore: remove debug Signed-off-by: Norman Meier <[email protected]> --------- Signed-off-by: Norman Meier <[email protected]>
- Loading branch information
Showing
13 changed files
with
426 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { | ||
createWasmAminoConverters, | ||
wasmTypes, | ||
} from "@cosmjs/cosmwasm-stargate/build/modules"; | ||
import { Registry } from "@cosmjs/proto-signing"; | ||
import { | ||
AminoTypes, | ||
createDefaultAminoConverters, | ||
defaultRegistryTypes, | ||
} from "@cosmjs/stargate"; | ||
|
||
import { | ||
teritoriAminoConverters, | ||
teritoriProtoRegistry, | ||
} from "@/api/teritori-chain"; | ||
|
||
export const cosmosTypesRegistry = new Registry([ | ||
...defaultRegistryTypes, | ||
...wasmTypes, | ||
...teritoriProtoRegistry, | ||
]); | ||
|
||
export const cosmosAminoTypes = new AminoTypes({ | ||
...createDefaultAminoConverters(), | ||
...createWasmAminoConverters(), | ||
...teritoriAminoConverters, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.