Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
7bb99033
Commit
7bb99033
authored
Jun 21, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename Fork => currentFork
parent
f3281515
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
settings.js
apps/remix-ide/src/app/tabs/runTab/settings.js
+1
-1
blockchain.js
apps/remix-ide/src/blockchain/blockchain.js
+1
-0
execution-context.js
apps/remix-ide/src/blockchain/execution-context.js
+1
-1
codeManager.ts
libs/remix-debug/src/code/codeManager.ts
+1
-1
traceManager.ts
libs/remix-debug/src/trace/traceManager.ts
+1
-1
No files found.
apps/remix-ide/src/app/tabs/runTab/settings.js
View file @
7bb99033
...
...
@@ -295,7 +295,7 @@ class SettingsUI {
*/
_getProviderDropdownValue
()
{
const
provider
=
this
.
blockchain
.
getProvider
()
const
fork
=
this
.
blockchain
.
getFork
()
const
fork
=
this
.
blockchain
.
get
Current
Fork
()
return
provider
===
'vm'
?
provider
+
'-'
+
fork
:
provider
}
...
...
apps/remix-ide/src/blockchain/blockchain.js
View file @
7bb99033
...
...
@@ -212,6 +212,7 @@ class Blockchain {
* return the fork name applied to the current envionment
* @return {String} - fork name
*/
getCurrentFork
()
{
return
this
.
executionContext
.
getCurrentFork
()
}
...
...
apps/remix-ide/src/blockchain/execution-context.js
View file @
7bb99033
...
...
@@ -136,7 +136,7 @@ export class ExecutionContext {
return
cb
()
}
this
.
currentFork
=
this
.
defaultFork
this
.
currentFork
=
this
.
defaultFork
// in the case of injected and web3, we default to the last fork.
if
(
context
===
'injected'
)
{
if
(
injectedProvider
===
undefined
)
{
...
...
libs/remix-debug/src/code/codeManager.ts
View file @
7bb99033
...
...
@@ -34,7 +34,7 @@ export class CodeManager {
})
})
},
fork
:
this
.
traceManager
.
getFork
()
fork
:
this
.
traceManager
.
get
Current
Fork
()
})
}
...
...
libs/remix-debug/src/trace/traceManager.ts
View file @
7bb99033
...
...
@@ -72,7 +72,7 @@ export class TraceManager {
this
.
traceCache
.
init
()
}
getFork
()
{
get
Current
Fork
()
{
return
this
.
fork
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment