Skip to content

Commit a9194a4

Browse files
Merge pull request ethereum#1 from celo-org/upstream
Pull upstream changes
2 parents 3ff59bf + c9b74b5 commit a9194a4

File tree

617 files changed

+40050
-20647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

617 files changed

+40050
-20647
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3+
*.sol linguist-language=Solidity

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ accounts/usbwallet @karalabe
55
consensus @karalabe
66
core/ @karalabe @holiman
77
eth/ @karalabe
8+
les/ @zsfelfoldi
9+
light/ @zsfelfoldi
810
mobile/ @karalabe
911
p2p/ @fjl @zsfelfoldi
12+
whisper/ @gballet @gluk256

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Before you do a feature request please check and make sure that it isn't possible
44
through some other means. The JavaScript enabled console is a powerful feature
5-
in the right hands. Please check our [Bitchin' tricks](https://github.com/ethereum/go-ethereum/wiki/bitchin-tricks) wiki page for more info
5+
in the right hands. Please check our [Wiki page](https://github.com/ethereum/go-ethereum/wiki) for more info
66
and help.
77

88
## Contributing

.github/no-response.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Number of days of inactivity before an Issue is closed for lack of response
2+
daysUntilClose: 30
3+
# Label requiring a response
4+
responseRequiredLabel: more-information-needed
5+
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
6+
closeComment: >
7+
This issue has been automatically closed because there has been no response
8+
to our request for more information from the original author. With only the
9+
information that is currently in the issue, we don't have enough information
10+
to take action. Please reach out if you have or find the answers we need so
11+
that we can investigate further.

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 366
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 42
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: stale
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ profile.cov
3434
# IdeaIDE
3535
.idea
3636

37+
# VS Code
38+
.vscode
39+
3740
# dashboard
3841
/dashboard/assets/flow-typed
3942
/dashboard/assets/node_modules
4043
/dashboard/assets/stats.json
4144
/dashboard/assets/bundle.js
45+
/dashboard/assets/package-lock.json
46+
47+
**/yarn-error.log

.mailmap

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Enrique Fynn <[email protected]>
6565

6666
Vincent G <[email protected]>
6767

68-
RJ Catalano <[email protected]>
68+
RJ Catalano <[email protected]>
69+
6970

7071
Nchinda Nchinda <[email protected]>
7172

@@ -109,3 +110,14 @@ Frank Wang <[email protected]>
109110
Gary Rong <[email protected]>
110111

111112
Guillaume Nicolas <[email protected]>
113+
114+
Sorin Neacsu <[email protected]>
115+
116+
117+
Valentin Wüstholz <[email protected]>
118+
Valentin Wüstholz <[email protected]> <[email protected]>
119+
120+
Armin Braun <[email protected]>
121+
122+
Ernesto del Toro <[email protected]>
123+

.travis.yml

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,66 +6,52 @@ matrix:
66
- os: linux
77
dist: trusty
88
sudo: required
9-
go: 1.7.x
10-
script:
11-
- sudo modprobe fuse
12-
- sudo chmod 666 /dev/fuse
13-
- sudo chown root:$USER /etc/fuse.conf
14-
- go run build/ci.go install
15-
- go run build/ci.go test -coverage
16-
17-
- os: linux
18-
dist: trusty
19-
sudo: required
20-
go: 1.8.x
9+
go: 1.9.x
2110
script:
2211
- sudo modprobe fuse
2312
- sudo chmod 666 /dev/fuse
2413
- sudo chown root:$USER /etc/fuse.conf
2514
- go run build/ci.go install
26-
- go run build/ci.go test -coverage
15+
- go run build/ci.go test -coverage $TEST_PACKAGES
2716

2817
# These are the latest Go versions.
2918
- os: linux
3019
dist: trusty
3120
sudo: required
32-
go: 1.9.x
21+
go: 1.10.x
3322
script:
3423
- sudo modprobe fuse
3524
- sudo chmod 666 /dev/fuse
3625
- sudo chown root:$USER /etc/fuse.conf
3726
- go run build/ci.go install
38-
- go run build/ci.go test -coverage
27+
- go run build/ci.go test -coverage $TEST_PACKAGES
3928

4029
- os: osx
41-
go: 1.9.x
30+
go: 1.10.x
4231
script:
4332
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
4433
- brew update
45-
- brew install caskroom/cask/brew-cask
4634
- brew cask install osxfuse
4735
- go run build/ci.go install
48-
- go run build/ci.go test -coverage
36+
- go run build/ci.go test -coverage $TEST_PACKAGES
4937

5038
# This builder only tests code linters on latest version of Go
5139
- os: linux
5240
dist: trusty
53-
go: 1.9.x
41+
go: 1.10.x
5442
env:
5543
- lint
5644
git:
5745
submodules: false # avoid cloning ethereum/tests
5846
script:
5947
- go run build/ci.go lint
6048

61-
# This builder does the Ubuntu PPA and Linux Azure uploads
49+
# This builder does the Ubuntu PPA upload
6250
- os: linux
6351
dist: trusty
64-
sudo: required
65-
go: 1.9.x
52+
go: 1.10.x
6653
env:
6754
- ubuntu-ppa
68-
- azure-linux
6955
git:
7056
submodules: false # avoid cloning ethereum/tests
7157
addons:
@@ -74,11 +60,25 @@ matrix:
7460
- devscripts
7561
- debhelper
7662
- dput
77-
- gcc-multilib
7863
- fakeroot
7964
script:
80-
# Build for the primary platforms that Trusty can manage
8165
- go run build/ci.go debsrc -signer "Go Ethereum Linux Builder <[email protected]>" -upload ppa:ethereum/ethereum
66+
67+
# This builder does the Linux Azure uploads
68+
- os: linux
69+
dist: trusty
70+
sudo: required
71+
go: 1.10.x
72+
env:
73+
- azure-linux
74+
git:
75+
submodules: false # avoid cloning ethereum/tests
76+
addons:
77+
apt:
78+
packages:
79+
- gcc-multilib
80+
script:
81+
# Build for the primary platforms that Trusty can manage
8282
- go run build/ci.go install
8383
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
8484
- go run build/ci.go install -arch 386
@@ -102,7 +102,7 @@ matrix:
102102
dist: trusty
103103
services:
104104
- docker
105-
go: 1.9.x
105+
go: 1.10.x
106106
env:
107107
- azure-linux-mips
108108
git:
@@ -146,24 +146,24 @@ matrix:
146146
git:
147147
submodules: false # avoid cloning ethereum/tests
148148
before_install:
149-
- curl https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | tar -xz
149+
- curl https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz | tar -xz
150150
- export PATH=`pwd`/go/bin:$PATH
151151
- export GOROOT=`pwd`/go
152152
- export GOPATH=$HOME/go
153153
script:
154154
# Build the Android archive and upload it to Maven Central and Azure
155-
- curl https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip -o android-ndk-r15c.zip
156-
- unzip -q android-ndk-r15c.zip && rm android-ndk-r15c.zip
157-
- mv android-ndk-r15c $HOME
158-
- export ANDROID_NDK=$HOME/android-ndk-r15c
155+
- curl https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -o android-ndk-r16b.zip
156+
- unzip -q android-ndk-r16b.zip && rm android-ndk-r16b.zip
157+
- mv android-ndk-r16b $HOME
158+
- export ANDROID_NDK=$HOME/android-ndk-r16b
159159

160160
- mkdir -p $GOPATH/src/github.com/ethereum
161161
- ln -s `pwd` $GOPATH/src/github.com/ethereum
162162
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
163163

164164
# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
165165
- os: osx
166-
go: 1.9.x
166+
go: 1.10.x
167167
env:
168168
- azure-osx
169169
- azure-ios
@@ -185,13 +185,14 @@ matrix:
185185
- xctool -version
186186
- xcrun simctl list
187187

188+
# Workaround for https://github.com/golang/go/issues/23749
189+
- export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
188190
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
189191

190192
# This builder does the Azure archive purges to avoid accumulating junk
191193
- os: linux
192194
dist: trusty
193-
sudo: required
194-
go: 1.9.x
195+
go: 1.10.x
195196
env:
196197
- azure-purge
197198
git:

0 commit comments

Comments
 (0)