Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit 5547486

Browse files
authored
Wallet Deployer: make cacheWallet public (#423)
Wallet Deployer: make cacheWallet public
2 parents 2268435 + 1561d33 commit 5547486

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

build/wallet-deployer/WalletDeployer.bin

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/wallet-deployer/combined.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/wallet-deployer.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ contract WalletDeployer is Controllable {
5353
emit WalletDeployed(walletAddress, owner);
5454
}
5555

56-
function cacheWallet() public onlyController {
56+
function cacheWallet() public {
5757
address walletAddress = new Wallet(address(this), true, ens, oracleName, controllerName, spendLimit);
5858
cached.push(walletAddress);
5959
emit WalletCached(walletAddress);

pkg/bindings/wallet_deployer.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/wallet_deployer/wallet_deployer_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ var _ = Describe("WalletDeployer", func() {
177177
Backend.Commit()
178178
})
179179

180-
It("should fail", func() {
181-
Expect(isSuccessful(tx)).To(BeFalse())
180+
It("should succeed", func() {
181+
Expect(isSuccessful(tx)).To(BeTrue())
182182
})
183183
})
184184

0 commit comments

Comments
 (0)