Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix: use the host param on server.listen
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Mar 4, 2022
1 parent b264e6d commit 164406f
Show file tree
Hide file tree
Showing 56 changed files with 4,404 additions and 988 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js.map

Large diffs are not rendered by default.

365 changes: 280 additions & 85 deletions docs/index.html

Large diffs are not rendered by default.

1,551 changes: 913 additions & 638 deletions docs/typedoc/api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/typedoc/assets/search.js

Large diffs are not rendered by default.

225 changes: 130 additions & 95 deletions docs/typedoc/classes/default.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/chains/ethereum/address/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/chains/ethereum/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.1.3",
"version": "0.1.4",
"description": "",
"author": "David Murdoch",
"homepage": "https://github.com/trufflesuite/ganache/tree/develop/src/chains/ethereum/address#readme",
Expand Down Expand Up @@ -56,6 +56,6 @@
"typescript": "4.5.2"
},
"dependencies": {
"@ganache/utils": "0.1.3"
"@ganache/utils": "0.1.4"
}
}
2 changes: 1 addition & 1 deletion src/chains/ethereum/block/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/chains/ethereum/block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.1.3",
"version": "0.1.4",
"description": "",
"author": "David Murdoch",
"homepage": "https://github.com/trufflesuite/ganache/tree/develop/src/chains/ethereum/block#readme",
Expand Down Expand Up @@ -57,11 +57,11 @@
},
"dependencies": {
"@ethereumjs/common": "2.6.0",
"@ganache/ethereum-address": "0.1.3",
"@ganache/ethereum-transaction": "0.1.3",
"@ganache/ethereum-utils": "0.1.3",
"@ganache/rlp": "0.1.3",
"@ganache/utils": "0.1.3",
"@ganache/ethereum-address": "0.1.4",
"@ganache/ethereum-transaction": "0.1.4",
"@ganache/ethereum-utils": "0.1.4",
"@ganache/rlp": "0.1.4",
"@ganache/utils": "0.1.4",
"emittery": "0.10.0",
"ethereumjs-util": "7.1.3"
}
Expand Down
46 changes: 46 additions & 0 deletions src/chains/ethereum/ethereum/RPC-METHODS.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,52 @@ Sets the given account's nonce to the specified value. Mines a new block before

---

#### evm_setAccountBalance

Sets the given account's balance to the specified WEI value. Mines a new block before returning.

##### Arguments

- `address: DATA` : The account address to update.
- `balance: QUANTITY` : The balance value, in WEI, to be set.

##### Returns

`Promise<boolean>` : `true` if it worked, otherwise `false`.

---

#### evm_setAccountCode

Sets the given account's code to the specified value. Mines a new block before returning.

##### Arguments

- `address: DATA` : The account address to update.
- `code: DATA` : The code to be set.

##### Returns

`Promise<boolean>` : `true` if it worked, otherwise `false`.

---

#### evm_setAccountStorageAt

Sets the given account's storage slot to the specified data. Mines a new block before returning.

##### Arguments

- `address: DATA` : The account address to update.
- `slot: DATA` : The storage slot that should be set.
- `value: DATA` : The value to be set.

##### Returns

`Promise<boolean>` : `true` if it worked, otherwise `false`.

---

#### evm_setTime

Sets the internal clock time to the given timestamp.
Expand Down
Loading

0 comments on commit 164406f

Please sign in to comment.