From ac0c68d35511dbe78dde29cd66227810670cf89f Mon Sep 17 00:00:00 2001
From: unknown unknown <unknown@unknown>
Date: Wed, 28 Aug 2024 10:08:49 +0200
Subject: [PATCH 1/2] use patched wasmd

---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index 3e71c7e7..f4f361ba 100644
--- a/go.mod
+++ b/go.mod
@@ -213,7 +213,7 @@ require (
 	sigs.k8s.io/yaml v1.4.0 // indirect
 )
 
-replace github.com/CosmWasm/wasmd => github.com/archway-network/archway-wasmd v0.50.1-archway
+replace github.com/CosmWasm/wasmd => github.com/archway-network/archway-wasmd v0.50.1-archway-CWSA-2024-005
 
 replace github.com/archway-network/voter => ./contracts/go/voter
 
diff --git a/go.sum b/go.sum
index eff71861..49e4110d 100644
--- a/go.sum
+++ b/go.sum
@@ -850,8 +850,8 @@ github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/P
 github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
 github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
 github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
-github.com/archway-network/archway-wasmd v0.50.1-archway h1:LMDZYRkWGM7U2jqHS+daI5JOf0d/R6iXhqIo8qCej2A=
-github.com/archway-network/archway-wasmd v0.50.1-archway/go.mod h1:9Dl+5yBJPFVa1lvk8ApdvSmpDGKxdrWHvngEcA0ZVDY=
+github.com/archway-network/archway-wasmd v0.50.1-archway-CWSA-2024-005 h1:gzVR6kPrwv89aNt0WSZuqP/3xpr+lB3jv10CVhdZy0k=
+github.com/archway-network/archway-wasmd v0.50.1-archway-CWSA-2024-005/go.mod h1:9Dl+5yBJPFVa1lvk8ApdvSmpDGKxdrWHvngEcA0ZVDY=
 github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
 github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
 github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=

From f4a015dc33be2d0daeace0a1e199c1cf78d5d2ca Mon Sep 17 00:00:00 2001
From: unknown unknown <unknown@unknown>
Date: Wed, 28 Aug 2024 10:13:14 +0200
Subject: [PATCH 2/2] CHANGELOG.md fix

---
 CHANGELOG.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 258929db..993dc3ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,7 +28,7 @@ Contains bug fixes.
 Contains all the PRs that improved the code without changing the behaviors.
 -->
 
-## [v8.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0)
+## [v9.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0)
 
 ### Added
 - [#577](https://github.com/archway-network/archway/pull/577) - Adding a cute ascii art of Archway for the cli
@@ -43,6 +43,8 @@ Contains all the PRs that improved the code without changing the behaviors.
 - [#569](https://github.com/archway-network/archway/pull/569) - Audit remidiations for x/cwerrors and x/cwica 
 - [#566](https://github.com/archway-network/archway/pull/566) - Fixing the localnet script to correctly set gov params post sdk v47
 - [#586](https://github.com/archway-network/archway/pull/586) - Applied patches for CWAs CWA-2024-003 and CWA-2024-004
+- [#589](https://github.com/archway-network/archway/pull/589) - Patch CWSA-2024-005
+
 
 ### Improvements