Skip to content

Commit 0b5bed8

Browse files
author
Darioush Jalali
authored
Merge branch 'master' into trie-prefetcher-alt2
Signed-off-by: Darioush Jalali <[email protected]>
2 parents aadacb5 + 72cacc3 commit 0b5bed8

File tree

18 files changed

+58
-22
lines changed

18 files changed

+58
-22
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ The Subnet EVM runs in a separate process from the main AvalancheGo process and
3030
[v0.6.9] [email protected] (Protocol Version: 37)
3131
[v0.6.10] [email protected] (Protocol Version: 37)
3232
[v0.6.11] [email protected] (Protocol Version: 37)
33-
[v0.6.12] [email protected]/v1.12.0-fuji (Protocol Version: 38)
33+
[v0.6.12] [email protected]/v1.12.0 (Protocol Version: 38)
34+
[v0.7.0] [email protected] (Protocol Version: 38)
3435
```
3536

3637
## API

RELEASES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Refactored trie_prefetcher.go to be structurally similar to upstream.
66

7+
78
## [v0.6.11](https://github.com/ava-labs/subnet-evm/releases/tag/v0.6.11)
89

910
This release focuses on Standalone DB and database configs.

compatibility.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rpcChainVMProtocolVersion": {
3+
"v0.7.0": 38,
34
"v0.6.12": 38,
45
"v0.6.11": 37,
56
"v0.6.10": 37,

consensus/dummy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The dynamic fee algorithm aims to adjust the base fee to handle network congesti
1818

1919
- EIP-1559 is intended for Ethereum where a block is produced roughly every 10s
2020
- The dynamic fee algorithm needs to handle the case that the network quiesces and there are no blocks for a long period of time
21-
- Since Subnet-EVM produces blocks at a different cadence, it adapts EIP-1559 to sum the amount of gas consumed within a 10 second interval instead of using only the amount of gas consumed in the parent block
21+
- Since Subnet-EVM produces blocks at a different cadence, it adapts EIP-1559 to sum the amount of gas consumed within a 10-second interval instead of using only the amount of gas consumed in the parent block
2222

2323
## Consensus Engine Callbacks
2424

eth/tracers/js/tracer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func TestHaltBetweenSteps(t *testing.T) {
206206
}
207207
}
208208

209-
// testNoStepExec tests a regular value transfer (no exec), and accessing the statedb
209+
// TestNoStepExec tests a regular value transfer (no exec), and accessing the statedb
210210
// in 'result'
211211
func TestNoStepExec(t *testing.T) {
212212
execTracer := func(code string) []byte {

eth/tracers/logger/access_list_tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (al accessList) equal(other accessList) bool {
8787
return true
8888
}
8989

90-
// accesslist converts the accesslist to a types.AccessList.
90+
// accessList converts the accesslist to a types.AccessList.
9191
func (al accessList) accessList() types.AccessList {
9292
acl := make(types.AccessList, 0, len(al))
9393
for addr, slots := range al {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.8
55
require (
66
github.com/VictoriaMetrics/fastcache v1.12.1
77
github.com/antithesishq/antithesis-sdk-go v0.3.8
8-
github.com/ava-labs/avalanchego v1.12.0
8+
github.com/ava-labs/avalanchego v1.12.0-config-pebble-sync
99
github.com/cespare/cp v0.1.0
1010
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233
1111
github.com/davecgh/go-spew v1.1.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ github.com/antithesishq/antithesis-sdk-go v0.3.8/go.mod h1:IUpT2DPAKh6i/YhSbt6Gl
6060
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
6161
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
6262
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
63-
github.com/ava-labs/avalanchego v1.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4=
64-
github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0=
63+
github.com/ava-labs/avalanchego v1.12.0-config-pebble-sync h1:HvtadR1VLxsOe7Y2PSnNmLUXPvp1RnTgeWtk5cOuGYA=
64+
github.com/ava-labs/avalanchego v1.12.0-config-pebble-sync/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0=
6565
github.com/ava-labs/coreth v0.13.9-rc.1 h1:qIICpC/OZGYUP37QnLgIqqwGmxnLwLpZaUlqJNI85vU=
6666
github.com/ava-labs/coreth v0.13.9-rc.1/go.mod h1:7aMsRIo/3GBE44qWZMjnfqdqfcfZ5yShTTm2LObLaYo=
6767
github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g=

internal/ethapi/transaction_args.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (args *TransactionArgs) setCancunFeeDefaults(ctx context.Context, head *typ
277277
return nil
278278
}
279279

280-
// setSubnetEVMFeeDefaults fills in reasonable default fee values for unspecified fields.
280+
// setSubnetEVMFeeDefault fills in reasonable default fee values for unspecified fields.
281281
func (args *TransactionArgs) setSubnetEVMFeeDefault(ctx context.Context, head *types.Header, b feeBackend) error {
282282
// Set maxPriorityFeePerGas if it is missing.
283283
if args.MaxPriorityFeePerGas == nil {

plugin/evm/block.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (b *Block) Accept(context.Context) error {
5555

5656
// Although returning an error from Accept is considered fatal, it is good
5757
// practice to cleanup the batch we were modifying in the case of an error.
58-
defer vm.db.Abort()
58+
defer vm.versiondb.Abort()
5959

6060
log.Debug(fmt.Sprintf("Accepting block %s (%s) at height %d", b.ID().Hex(), b.ID(), b.Height()))
6161

@@ -74,7 +74,7 @@ func (b *Block) Accept(context.Context) error {
7474
return fmt.Errorf("failed to put %s as the last accepted block: %w", b.ID(), err)
7575
}
7676

77-
return b.vm.db.Commit()
77+
return b.vm.versiondb.Commit()
7878
}
7979

8080
// handlePrecompileAccept calls Accept on any logs generated with an active precompile address that implements

0 commit comments

Comments
 (0)