-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bank): Allow injectable restrictions on bank transfers #14224
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 83de950 - Browse repository at this point
Copy the full SHA 83de950View commit details -
[14124]: Move the MintingRestrictionFn in with the SendRestrictionFn …
…and give it similar stuff. Add unit tests for it.
Configuration menu - View commit details
-
Copy full SHA for 1648159 - Browse repository at this point
Copy the full SHA 1648159View commit details
Commits on Dec 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 66b2b93 - Browse repository at this point
Copy the full SHA 66b2b93View commit details -
[14124]: Add a SendRestrictionFn to the send keeper. Rename the exist…
…ing SendCoins to SendCoinsWithoutRestriction and create a new SendCoins that just applies the restriction then calls SendCoinsWithoutRestriction. Make restriction calls from InputOutputCoins too.
Configuration menu - View commit details
-
Copy full SHA for 845480d - Browse repository at this point
Copy the full SHA 845480dView commit details -
[14124]: Remove the SendCoinsWithoutRestriction and always run restri…
…ctions. It can be up to each restriction to decide if it should be bypassed.
Configuration menu - View commit details
-
Copy full SHA for df54462 - Browse repository at this point
Copy the full SHA df54462View commit details -
[14124]: Create a struct to hold the send restriction function that c…
…an be updated from inside the keeper without needing a pointer receiver.
Configuration menu - View commit details
-
Copy full SHA for ba605c3 - Browse repository at this point
Copy the full SHA ba605c3View commit details -
[14124]: Switch the keeper to use this SendRestriction holder and giv…
…e the keeper AppendSendRestriction and PrependSendRestriction.
Configuration menu - View commit details
-
Copy full SHA for 66e8474 - Browse repository at this point
Copy the full SHA 66e8474View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc988d9 - Browse repository at this point
Copy the full SHA bc988d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6ea3a - Browse repository at this point
Copy the full SHA 3f6ea3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b1afe - Browse repository at this point
Copy the full SHA a5b1afeView commit details -
[14124]: Update the gov mocks to include the new Append and Prepend r…
…estriction functions.
Configuration menu - View commit details
-
Copy full SHA for 64bb3c1 - Browse repository at this point
Copy the full SHA 64bb3c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd62bf - Browse repository at this point
Copy the full SHA 9bd62bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 987e9c5 - Browse repository at this point
Copy the full SHA 987e9c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e388801 - Browse repository at this point
Copy the full SHA e388801View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef3412 - Browse repository at this point
Copy the full SHA 1ef3412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60fbf14 - Browse repository at this point
Copy the full SHA 60fbf14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915216e - Browse repository at this point
Copy the full SHA 915216eView commit details
Commits on Dec 9, 2022
-
[14124]: Update spec doc with SendKeeper Append and Prepend SendRestr…
…iction functions.
Configuration menu - View commit details
-
Copy full SHA for 66ec36f - Browse repository at this point
Copy the full SHA 66ec36fView commit details -
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # x/bank/keeper/send.go
Configuration menu - View commit details
-
Copy full SHA for 1f0efb8 - Browse repository at this point
Copy the full SHA 1f0efb8View commit details
Commits on Jan 12, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # tests/integration/bank/keeper/keeper_test.go # x/bank/keeper/keeper_test.go # x/gov/testutil/expected_keepers_mocks.go
Configuration menu - View commit details
-
Copy full SHA for c9cc904 - Browse repository at this point
Copy the full SHA c9cc904View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28f37ed - Browse repository at this point
Copy the full SHA 28f37edView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0befb3 - Browse repository at this point
Copy the full SHA a0befb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 327f218 - Browse repository at this point
Copy the full SHA 327f218View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d0a12 - Browse repository at this point
Copy the full SHA f4d0a12View commit details
Commits on Feb 3, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 6202a5d - Browse repository at this point
Copy the full SHA 6202a5dView commit details
Commits on Feb 16, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # x/bank/keeper/keeper_test.go
Configuration menu - View commit details
-
Copy full SHA for 8aba61a - Browse repository at this point
Copy the full SHA 8aba61aView commit details
Commits on Mar 8, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # x/bank/keeper/keeper_test.go
Configuration menu - View commit details
-
Copy full SHA for a994e79 - Browse repository at this point
Copy the full SHA a994e79View commit details
Commits on Mar 22, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # tests/integration/bank/keeper/keeper_test.go # x/bank/README.md # x/bank/keeper/keeper_test.go # x/bank/keeper/send.go # x/gov/testutil/expected_keepers_mocks.go
Configuration menu - View commit details
-
Copy full SHA for 916608b - Browse repository at this point
Copy the full SHA 916608bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed42c18 - Browse repository at this point
Copy the full SHA ed42c18View commit details
Commits on Mar 31, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # x/bank/keeper/send.go
Configuration menu - View commit details
-
Copy full SHA for 4260317 - Browse repository at this point
Copy the full SHA 4260317View commit details
Commits on Apr 14, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 2a3f9fa - Browse repository at this point
Copy the full SHA 2a3f9faView commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c9b5bab - Browse repository at this point
Copy the full SHA c9b5babView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7583b4 - Browse repository at this point
Copy the full SHA c7583b4View commit details
Commits on Apr 18, 2023
-
[14124]: Move the definition of the restriction functions into the ty…
…pes package so it's easier for other modules to create expected keepers for them.
Configuration menu - View commit details
-
Copy full SHA for f54f8fa - Browse repository at this point
Copy the full SHA f54f8faView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9b7b71 - Browse repository at this point
Copy the full SHA c9b7b71View commit details
Commits on Apr 19, 2023
-
[14124]: Move the wrapper for the SendRestrictionFn back into the kee…
…per since it's specific to the keeper and a bit confusing to have right next to the SendRestrictionFn.
Configuration menu - View commit details
-
Copy full SHA for c6e1dca - Browse repository at this point
Copy the full SHA c6e1dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 053a518 - Browse repository at this point
Copy the full SHA 053a518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0000a6e - Browse repository at this point
Copy the full SHA 0000a6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f61c50 - Browse repository at this point
Copy the full SHA 2f61c50View commit details
Commits on May 5, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # tests/integration/bank/keeper/keeper_test.go # x/bank/README.md # x/bank/keeper/keeper.go # x/bank/keeper/keeper_test.go # x/bank/keeper/send.go # x/gov/testutil/expected_keepers_mocks.go
Configuration menu - View commit details
-
Copy full SHA for 231c925 - Browse repository at this point
Copy the full SHA 231c925View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb0f30 - Browse repository at this point
Copy the full SHA dfb0f30View commit details
Commits on Jun 5, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md # tests/integration/bank/keeper/keeper_test.go
Configuration menu - View commit details
-
Copy full SHA for a452e6a - Browse repository at this point
Copy the full SHA a452e6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c009f5 - Browse repository at this point
Copy the full SHA 1c009f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f7191 - Browse repository at this point
Copy the full SHA a0f7191View commit details
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c43f119 - Browse repository at this point
Copy the full SHA c43f119View commit details
Commits on Jun 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 114838d - Browse repository at this point
Copy the full SHA 114838dView commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 89680e8 - Browse repository at this point
Copy the full SHA 89680e8View commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a116b9a - Browse repository at this point
Copy the full SHA a116b9aView commit details -
Move the send restriction application in SendCoins to after subUnlock…
…edCoins so that it a) more closely refelects InputOutputCoins, and b) does the most common failure thing first.
Configuration menu - View commit details
-
Copy full SHA for 0f36433 - Browse repository at this point
Copy the full SHA 0f36433View commit details -
Configuration menu - View commit details
-
Copy full SHA for acbc96c - Browse repository at this point
Copy the full SHA acbc96cView commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fdd3354 - Browse repository at this point
Copy the full SHA fdd3354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7140caa - Browse repository at this point
Copy the full SHA 7140caaView commit details -
[14124]: Fix unit tests that broke when I changed the location of the…
… restiction check in SendCoins.
Configuration menu - View commit details
-
Copy full SHA for d4eca5d - Browse repository at this point
Copy the full SHA d4eca5dView commit details
Commits on Jul 31, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 8fb5fd4 - Browse repository at this point
Copy the full SHA 8fb5fd4View commit details
Commits on Aug 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ab7b5a - Browse repository at this point
Copy the full SHA 7ab7b5aView commit details
Commits on Aug 10, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 555523c - Browse repository at this point
Copy the full SHA 555523cView commit details
Commits on Aug 18, 2023
-
Merge branch 'main' into dwedul/14124-bank-restrictions
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for adb1e73 - Browse repository at this point
Copy the full SHA adb1e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b6f99 - Browse repository at this point
Copy the full SHA 58b6f99View commit details