From c5b9bd77439e8d03412c4296759fe951e0ade802 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Thu, 21 Sep 2023 01:30:56 +0800 Subject: [PATCH] remove DS_Store, update .gitignore, set the contract Keeper for ibc hooks --- .gitignore | 2 +- app/app.go | 3 +++ networks/.DS_Store | Bin 6148 -> 0 bytes 3 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 networks/.DS_Store diff --git a/.gitignore b/.gitignore index fa058ff4..853cf226 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ bin .vscode .ash_history - +*/.DS_Sore diff --git a/app/app.go b/app/app.go index 18672cf3..7914e0ad 100644 --- a/app/app.go +++ b/app/app.go @@ -623,6 +623,9 @@ func NewMigalooApp( wasmOpts..., ) + contractKeeper := wasmkeeper.NewDefaultPermissionKeeper(app.WasmKeeper) + app.Ics20WasmHooks.ContractKeeper = contractKeeper + // The gov proposal types can be individually enabled if len(enabledProposals) != 0 { govRouter.AddRoute(wasm.RouterKey, wasm.NewWasmProposalHandler(app.WasmKeeper, enabledProposals)) diff --git a/networks/.DS_Store b/networks/.DS_Store deleted file mode 100644 index 48aacd8f74dc1dda3c51af606668332559e40bb6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}N6?5T4YkDI)Zs;4$E}Xsc2YFKg9~si)&K)V-KaUXMG``#MjZ8 zBo(Fgs92eS$u~PcyPGddvI793)^Ah*iU1%{33CM;rU=DJCnV=RbBMy;Lqh@@S|_Qw zoyca#Uu1yRPC^?}h;ZdTtzVp)7-RHd9H4HzSwU+`emv;5ef~?_PLpo0Tz(a~x%~XX zqFj_q@;baTgRmF%`rTU8xumNzW72qRNAY>m9Mp>|her3JL^nIOAZau)4+HhFet(4UEUUgJb!@aF?N$qS`N27vVUEkb4t>32)+C14e2Z7(I zm1U1(ct&G_hsUs^Q=?lL8`q8V8JPiQfEk!&2K=5Tmu7hq{O-&EGw>q}(EgxM2?LLr zL%Vh0U|RshJi4u*O}~s(qdW#4Glv*K5v~-`l?vZt2v?4NJ2IhhRJt+JmU}@li8TeHO-T|gMS=s;q